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
From: Andreas Stemmer (Andreas.Stemmer_at_web.de)
Date: 2002-09-20


> 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



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa