0

I want to build an app that recognizes sounds like whistle and other non speech sounds.

So when someone whistles, method is called or something happens.

Is there any API for that?

I searched a lot but I couldn't find anything.

rmaddy
  • 314,917
  • 42
  • 532
  • 579

1 Answers1

0

Try the following guides:

http://mobileorchard.com/tutorial-detecting-when-a-user-blows-into-the-mic/ (a bit old, but should do the trick)

Detecting a clap in IOS

Essentially you can use the AVAudioRecorder class that does the job for you.

Community
  • 1
  • 1
Lior Pollak
  • 3,362
  • 5
  • 27
  • 48