Ross I seem to recall that a doubling of sound pressure equates to an increase of 3 dB. ie 103 dB is twice the sound pressure of 100 dB. HTH Mark On Sun, 19 Jun 2005 00:25:31 +1200, Ross Levis <[EMAIL PROTECTED]> wrote:
I was never any good at logarithms. I need to convert a linear audio volume to decibels. The values start at 0 being silence and 127 being maximum. This needs to be translated to db starting at 0db being maximum volume, and going negative to like -20db being a low volume. This will be a VU meter. I'm sure I need to use the Log10 math function, but I'm lost. Many thanks, Ross.
-- Forest Production Systems Ltd Creators of PSLog - A harvesting information system www.pslog.co.nz -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.7.8/22 - Release Date: 17/06/2005 _______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi
