Use the autocorrelation function on segments of the signal (windowsize: 100ms) and compute the fundamental frequency. Use a max_time_lag of 100ms in the autocorrelation function and a window shift of 25ms. Create a fundamental frequency vector and plot your pitch contour.
利用相关函数求信号功率谱,信号的自相关函数及不同信号的互相关函数-Use of correlation function for the signal power spectrum, the signal of the autocorrelation function and different signal cross-correlation function