2

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?

4

1 回答 1

6

查看 code.google.com 上的两个项目之一:

http://code.google.com/p/moonblink/wiki/Audalyzer

http://code.google.com/p/splmeter/

其中最后一个项目使用这个公式来计算声压值:

http://en.wikipedia.org/wiki/Sound_pressure

于 2011-11-27T20:43:21.307 回答