Skip to content

Instantly share code, notes, and snippets.

-(void) audioRecorderDidFinishRecording:(AVAudioRecorder *)recorder successfully:(BOOL)flag
{
static FFTSetupD fft_weights;
static DSPDoubleSplitComplex input;
static double *magnitudes;
ExtAudioFileRef fileRef;
ExtAudioFileOpenURL((__bridge CFURLRef)[recorder url], &fileRef);