dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: Log base 2

Re: Log base 2

From: Philipp Pertermann <>
Date: Thu, 19 Sep 2002 23:52:14 +0200

From: "Jack Peel" <>

> Ahh.. after a little research I found out where the 20
came from in my
> mind :) it's 20 log(x/y) for a ratio in dB (volts that is)

Fortunately we don't have to bother with volts and watts
because in the digital domain we can use dBfs (db full
scale). So in our case we can use the sample range (0x8000
in the mas) as y and the sample itself as x.

Received on 2002-09-19

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