开发者

Detecting sound in iphone

开发者 https://www.devze.com 2023-02-01 02:44 出处:网络
Can anyone tell me how to detect a sound on iphone.... Please help....please provide any s开发者_如何学JAVAource code or link if possibleYou can use AVAudioRecorder

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

精彩评论

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