How to divide wav file into frames uding MATLAB -


i have .wav file , need perform stft on it. dont know length of file. how can break smaller frames , perform stft??

it has been long time since last worked on matlab, think general algo should be:

  1. take input signal.
  2. multiply point-by-point windowing function (say rectangular of 'n' samples). means have frame of 'n' samples.
  3. take fft of frame.
  4. move window 'm' samples (m = shift, 25% of 'n'). steps 2 , 3.
  5. if end of signal reached, take many samples of signal , fill rest zeros. steps 2 , 3.
  6. you have 3d plot - frequency, amplitude , time. plot stft.

on side note: there no stft functions in matlab? have checked?


Comments

Popular posts from this blog

php - get table cell data from and place a copy in another table -

javascript - Mootools wait with Fx.Morph start -

php - Navigate throught databse rows -