pls help me with matlab code for STFT of audio signal in wav format and to plot pitch contour

4 ビュー (過去 30 日間)
I am working on analysis of baby cry signal. fundamental frequency(Fo) of signal is already estimated using auto correlation and cepstrum analysis. cry signal is inputted in .wav format. now i want to do short time fourier transform analysis of same signal in order to find variations in fundamental frequency over the time and plot its "pitch contour". i.e. Fo v/s t. its like finding Fo value for each small interval and plotting over time to see its variability. pls, can anybody help me with the matlab code? image is uploaded for reference
.

回答 (1 件)

Bjorn Gustavsson
Bjorn Gustavsson 2015 年 4 月 5 日
Have a look at the help for:
spectrogram
That function should give you the stft with a load of options about windowing and the like. From there on it will depend a lot on your baby's cry...
HTH
  2 件のコメント
Ravi Sharma
Ravi Sharma 2015 年 4 月 6 日
sir spectrogram is plotted using specgram function but how to plot contour using stft.thank you
Bjorn Gustavsson
Bjorn Gustavsson 2015 年 4 月 14 日
Just take the output from the spectrogram function (T, F and P or S) and feed them to the contour function. For information about how to use the contour function look at:
help contour
HTH

サインインしてコメントする。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by