How to segment an wav file off to 2 second interval and FFT every 2 second.

1 view (last 30 days)
Lim Sky
Lim Sky on 17 Jul 2015
I have facing problem on how to segment an wav file off to 2 second interval and FFT every 2 second. My wav file is 65 second long and my sampling rate is 44100hz. My coding : [y,fs]=audioread('C:\Users\Sky\Desktop\Discrete Time signal processing\ASGN(1)\ESNoise.wav'); I was stuck
  2 Comments
Lim Sky
Lim Sky on 18 Jul 2015
Eric Pahlke, ya, i was stuck on the issue in separating out the sub-arrays of length 88200, you have any solution ?

Sign in to comment.

Answers (1)

Manolis Michailidis
Manolis Michailidis on 18 Jul 2015
There is the spectrogram take a look here http://www.mathworks.com/help/signal/ref/spectrogram.html which performs STFT. Also if your issue is framing there is the buffer function http://www.mathworks.com/help/signal/ref/buffer.html.

Community Treasure Hunt

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

Start Hunting!