Getting "loudness" of line in sound.

Mar 2, 2011 at 6:40 AM
Edited Mar 2, 2011 at 6:41 AM

Hey.
I'm trying to use NAudio to get the sound loudness from the mic, is there a simple way to measure this?
I would be really happy if I was able to get the "loudness" back as an integer.

Basically I want to achieve the same type of thing that MSN messenger does in its sound controls where they have a bar representing the sound level comming in from the mic.

http://img849.imageshack.us/img849/3905/example.png

 

Thanks

Coordinator
Mar 2, 2011 at 10:04 AM

have a look at the .NET Voice Recorder application for an example of using NAudio to do this:

http://voicerecorder.codeplex.com

Mark