Borrar filtros
Borrar filtros

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

2 visualizaciones (últimos 30 días)
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
.

Respuestas (1)

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

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by