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

조회 수: 2 (최근 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