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.
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.
Try the following guides:
http://mobileorchard.com/tutorial-detecting-when-a-user-blows-into-the-mic/ (a bit old, but should do the trick)
Essentially you can use the AVAudioRecorder class that does the job for you.