[wdmaudiodev] Re: Peak Meter in Core Audio APIs

  • From: "Andrew Mindrin" <wdmaudiodev@xxxxxxxxxxxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Mon, 21 Jun 2010 02:34:27 -0400

Tim Roberts wrote:

>   3. current volume (in dB) + 20 * log10( peak value )

I agree with your formula for PPM meter, but it doesn't correspond to low-range 
of
IAudioEndpointVolume::GetVolumeRange. Here is my opinion.

1. Current Volume (in dB) * Peak Value

This is VU meter formula. I have made tests and it seems, it is used by 
standard Vista/7 mixer to display picks.

2. 20 * log10( peak value )

This is PPM meter formula. It has no correlation to the range of volume levels 
returned by
IAudioEndpointVolume::GetVolumeRange.

Am I correct?

******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/

Other related posts: