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

2 Ansichten (letzte 30 Tage)
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
.

Antworten (1)

Bjorn Gustavsson
Bjorn Gustavsson am 5 Apr. 2015
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 Kommentare
Ravi Sharma
Ravi Sharma am 6 Apr. 2015
sir spectrogram is plotted using specgram function but how to plot contour using stft.thank you
Bjorn Gustavsson
Bjorn Gustavsson am 14 Apr. 2015
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

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by