FFT on a wav file

K

kieran

Hi all,
after trying a few different modules to perform an FFT on a WAV file I
settled on the following one, Freqext.
http://tomacorp.com/perl/wav/Freqext.html
I used some of the sample code on the above page to track a moving
frequency "Using the FFT to Track a Moving Frequency".
The outputI am getting back looks correct but for a 13 second file all
the results are compressed into the first half of the output. The
application is returning a long list of results split up over the 13
seconds, see example output below. All the results unp until 1/2 the
length of the wav file are fine but the second half is always empty.
If the first half of the results were spread over the entire length of
the file it would be correct.
I have tried many different wav files of different length and sample
rate, also i have tried every different size of fft between 8 and
262144.
Any Ideas?
Hope you can help,
Kieran
.....
4.5 5.678
5.0 1.234
5.5 4.567
6.0 3.456
6.5 0.000
7.0 0.000
7.5 0.000
8.0 0.000
......
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top