开发者

Detecting sound in iphone

Can anyone tell me how to detect a sound on iphone....

Please help....please provide any s开发者_如何学JAVAource code or link if possible


You can use AVAudioRecorder

http://mobileorchard.com/tutorial-detecting-when-a-user-blows-into-the-mic/

That tutorial works for any sound really... it goes through the steps of creating a high-pass filter to try and only detect blowing. You can change the values to make it more sensitive to sound or less sensitive.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜