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

Rockbox mail archive

Subject: Re: logarithmic volume control
From: Uwe Freese (
Date: 2002-08-07

Hello Bjoern,

Bjoern Fischer wrote on Wednesday, August 7, 2002, 4:23:14 AM:

BF> Has anyone thought about a volume control with a logarithmic or sqrt
BF> characteristic? The volume control steps are very small within 0%-60%
BF> and quite large, when approaching max volume. A perfect solution would
BF> be a configurable characteristic: linear, log, sqrt, square.

BF> If this feature is welcome, but noone wants to implement this, I will
BF> give it a try myself and install the cross compiling suite.

You could implement this function as a 2-dimensional array with
precalculated values (rockbox has no floating point unit). Then it's
easy to change the scale. I think it won't be more than 20 values per

Bye, Uwe.

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