Hi David,

"David W. Tamkin" <[EMAIL PROTECTED]> writes:

> If I use a digital extraction program like Exactaudiocopy or Audiograbber on
> the CD track, the program reports the peak amplitude as a percentage of the
> possible maximum; the maximum must be 0 dB, yes?  How does one convert a
> percent-of-maximum to decibels?

First, dB as a function of the signal is:

        dB = 10log10(power)
or:
        dB = 20log10(amplitude)

So, for example:

        20log10(65536) = 96.33 (max dynamic range for 16 bit PCM)

Subtracting in the log domain:
        
        dB =  20log10(65536*percent_of_Max) - 20log10(65536)

is the same as dividing in the linear domain:

        dB =  20log10( 65536*percent_of_Max/65536 )

or simply:

        dB =  20log10( percent_of_Max )

So, for example, if your program reports your peak is 50%:

        20log10( .5 ) = -6.02dB

you can boost your input by 6dB and be safe.

Rick
-----------------------------------------------------------------
To stop getting this list send a message containing just the word
"unsubscribe" to [EMAIL PROTECTED]

Reply via email to