I’m looking into developing an iPhone app that will potentially involve a “simple” analysis of audio it is receiving from the standard phone mic. Specifically, I am interested in the highs and lows the mic pics up, and really everything in between is irrelevant to me.
Is there an app that does this already (just so I can see what its capable of)? And where should I look to get started on such code?
Thanks for your help.
Look in the Audio Queue framework. This is what I use to get a high water mark:
You can get peak power in either dB Free Scale (with kAudioQueueProperty_CurrentLevelMeterDB) or simply as a float in the interval [0.0, 1.0] (with kAudioQueueProperty_CurrentLevelMeter).