Fast Fourier Transform in Java
Hi.
I'm studying computing at university, and my dissertation requires me to work with sound.
Amongst other things, I need to find the frequency of some sound data coming into the computer via a microphone.
I understand that I need to use a fast fourier transform on this data. I have chosen to use java to produce the application.
My question is whether anyone has had any success with the FFT in java, and if so how to go about using it? Will I need to write my own class? Are there libraries available to help me?
Thanks in advance for any help
James Best
theonegopher89@hotmail.com
The FFT is a tricky beastie to get correct. Avoid writing your own if you can (actaully the 1D version
you will need for sound processing is not that difficult)
Info on the FFT is available from Numerical Recipies in C
http://www.library.cornell.edu/nr/nr_index.cgi
Here is one
http://acg.media.mit.edu/courses/mas961/people/ geilfuss/ps1/source/FFT.java
Don't know what the licence on it is though.
Another one is available from here
http://www.benstoltz.com/Fft.html
matfud
Hi James,I am in university too and have the same requirement for a DFT or FFT module in Java. It would be really great if you culd mail me the library or the links that you have come across.Thanks in advance, Chandan !!!!!!!!!!!!!!!!