Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: RE: Log base 2

RE: Log base 2

From: Andreas Stemmer <Andreas.Stemmer_at_web.de>
Date: Fri, 20 Sep 2002 10:26:34 +0200

> In order to convert a linear volume sample info into dBfs I
> have to calculate:
>
> dBfs = 20 * log( sample / SAMPLE_RANGE)
>
> with log being the logarithmus base 10.

That's no problem because of the rules for the loagrithm:
log(x) base 10 = (log (x) base 2) / (log (10) base 2)

Andreas
Received on 2002-09-20

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy