Does anyone know the formula to alter an integer value by a particular db value.
I'm working on an audio app and I need to alter the volume by a particular db setting. The volume can be anywhere in the range 0 (silent) to 65535 (maximum).
I know that db = 20 log (P1/P2) though I've also seen the 20 at 10. How do I get P1 (or is it P2) to the left of the equation.
Thanks, Ross Levis.
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
