David.Cherrie

Q: Decibel Value from an audio source or built-in microphone

Hi everyone,

 

I'm trying to get a decibel value from an audio source of the built-in microphone for a Mac. I know there are so many different iOS apps and OS X apps but they don't allow me to actually get a live export of that number.

 

The ideal scenario is that we have some way of getting a numerical value in a decibel range into a program we use via AppleScript. Then we take that value into the program we use, display the number with graphics that react to the numerical number that is being provided in the decibel range. All of this we can already do, we just need to convert what a microphone hears to a decibel numerical value.

 

I have found a few websites that are on topic but I have no idea how to use Xcode as its not as simple as AppleScript.

 

http://b2cloud.com.au/tutorial/obtaining-decibels-from-the-ios-microphone/

 

http://stackoverflow.com/questions/9247255/am-i-doing-the-right-thing-to-convert -decibel-from-120-0-to-0-120

 

Any help is appreciated!

 

Cheers,


David

MacBook Pro (Retina, 15-inch, Mid 2014), OS X Yosemite (10.10.4)

Posted on Jul 20, 2015 8:47 PM