I’m looking to perform an FFT on a linear PCM audio file (with potentially more than one audio channel) on OS X. What is the best way to go about this?
Several sources have indicated that Apple’s Accelerate Framework is what I need. If so, how should I extract and properly prepare the floating point data for use in those FFT functions?
Here’s roughly what you want to do. Fill in your own input and output functions.
Hope that helps.