Alex O'Brien
Alex O'Brien

Reputation: 469

Get Microphone Input Level Naudio

I've been looking for a simple way to determine the volume/level of sound being inputted into the microphone, as soon as the data is available. I've not been able to find a simple answer. Is there no simple way to do this, or am I just missing it?

Upvotes: 4

Views: 3414

Answers (1)

Gordon Hatt
Gordon Hatt

Reputation: 31

What I've been using for a peak meter (a progress bar) is the following, passing in the device from my IWaveIn.DataAvailable

MMDevice.AudioMeterInformation.MasterPeakValue * 100

Upvotes: 3

Related Questions