views:

159

answers:

2

I have an Input Audio stream data, VARIANT type, PCM data, 8000Hz, 16bit, Mono.

I just want to make a LevelMeter from it that moves Up and Down as the person talk to the Microphone. Like what windows did in "Volume Mixer" in windows Vista and Seven. Is there any ready Control to use?

+2  A: 

Check these links:

Groo
NAudio is so good but I just want a piece of code to simply get my stream (byte[320]) and show the level of this.
mammadalius
A: 

The simplest solution is just to use a progress bar, whether in WPF or WinForms. In WPF, you can restyle the progress bar. I blogged about that here. Also in NAudio, I made a very simple WinForms volume meter, which you can see in action in the NAudioDemo project.

Mark Heath