Hi I have to draw a spectrum graph for the wav file. I am using the AudioFileGetProperty
and I am able to retreive the AudioData
for the wav file using
audioData = (SInt16*)malloc( 2 *packetCount);
from this other question.
Gonna use FFT in accelerate framework. Please do let me know how to get the Frequency. I am not sure how the input for FFT should be. I currently have the SInt16
audio data.