Search code examples
iphoneobjective-ccore-audioaudioqueueservices

How would I recognize the noise of a clap in an iPhone application?


Within my iPhone application, how would I recognize the noise that a clap makes?


Solution

  • If you're talking about recognizing the sound of a clap, SCListener is a great and easy-to-use class that gives you simple audio levels. Then it's just a question of measuring peaks or even just high values.