How to generate the audio spectrum using fft in C++? [closed]
I want to generate an audio spectrum (as seen in this video ) of a mp3 audio file. Basically this problem requires calculating the fft of the audio signal. How do I program this in C/C++? I've looked at a couple of open source libraries such as FFTW and I really don't know how to use these for my problem. Any help would be greatly appreciated. Thanks in advance! Paul R There are quite a few similar/related questions on SO already which are well worth reading as the answers contain a lot of useful information and advice, but in essence you need to do this: convert audio data to format required