I want to create an app that would be able to use the phone's microphone in order to get the outside noise volume in db. What is the easiest way to do it?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Check out one of the two projects on code.google.com:
http://code.google.com/p/moonblink/wiki/Audalyzer
http://code.google.com/p/splmeter/
where as the last projects used this formular for calculating the sound pressure value:
http://en.wikipedia.org/wiki/Sound_pressure