1

I am trying to write an iPhone App that should monitor the any incoming sound. I am not sure how can I get the sound recorded by iPhone's Microphone and detect its frequency. If same frequency sound repeated couple of times then I need to take some action. Could anyone please help me here. I went through the How to detect sound frequency / pitch on an iPhone? but I couldn't understood how to use them.

Any documentation or example would be really useful.

Thanks.

Community
  • 1
  • 1
Paresh Masani
  • 7,474
  • 12
  • 73
  • 139

1 Answers1

1

You'll appreciate reading this, on how to get the sound "without having to drop down to C", by using AVAudioRecorder...

Then, begin researching FFT...

Checkout this post about FFT for iPhone, which mentions various options, including the possibility of using Apple's Accelerate framework (in which you will need to drop to C) to apparently get "Apple-written FFT functions".

This is probably what you really want to read.

Community
  • 1
  • 1
Todd Hopkinson
  • 6,803
  • 5
  • 32
  • 34