Determining the magnitude of a certain frequency on the iPhone

Posted by eagle on Stack Overflow See other posts from Stack Overflow or by eagle
Published on 2010-05-27T13:49:05Z Indexed on 2010/05/30 4:52 UTC
Read the original article Hit count: 331

Filed under:
|
|

I'm wondering what's the easiest/best way to determine the magnitude of a given frequency in a sound.

It's my understanding that a FFT function will return the magnitudes of all frequencies in a signal. I'm wondering if there is any shortcut I could use if I'm only concerned about a specific frequency.

I'll be using the iPhone mic to record the audio. My guess is that I'll be using the Audio Queue Services for recording since I don't need to record the audio to a file. I'm using SDK 4.0, so I can use any of the functions defined in the Accelerate framework (e.g. FFT functions) if needed.

Update: I updated the question to be more clear as per Conrad's suggestion.

© Stack Overflow or respective owner

Related posts about iphone-sdk

Related posts about audio