I want to write an Audio Visualizer using the SDL_mixer and FFTW libraries. I found many tutorials about how to perform a FFT, and I also performed one by myself, but what data does the FFTW need? And yow do I get that data from my with SDL_mixer loaded audio files?
I had no results yet and no code, but I searched for hours now finding nothing helpful who I, as a "beginner" of C++ could understand. Something like: 1. Read data from audio file, 2. perform FFT with that data, 3. print results doesn't help me, since I don't know how to get that data, and perform it in realtime. A code sample or a easy explaination would be nice and really helpful