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: Simplified and uniform volume handling - asking for opinions

Re: Simplified and uniform volume handling - asking for opinions

From: Jens Arnold <arnold-j_at_t-online.de>
Date: 2005-12-07

On 06.12.2005, [IDC]Dragon wrote:

>> Now I am asking for opinions/ suggestions on this. I would
>> really like to commit this...

> I like it, and don't think dB is too technical for end users.
> Even my car stereo displays in dB when I turn the knob.

> I think it's enough to go down to -99dB, to avoid a 3 digit
> display.

I've limited the volume range to -100..+12 dB in my latest patch
now; this also avoids 4 chars in the status bar because the
lowest value is replaced by the mute symbol.

> The side effect free changing gets my vote, too. If we get
> complaints about clipping, perhaps we can calculate if the
> current setting could clip, and mark that condition.

Another benefit of switching to dB for volume is that it makes
it easy to add clipping prevention at the app level, without
needing knowledge about the specific DAC. We just need to make
sure that

current_volume + MAX(bass_boost, treble_boost) <= max_volume

by reducing either current_volume (not good; old system for
player & iriver) or bass_boost and treble_boost (better).

Making this happen at the app layer also makes it easier to
indicate what's happening.

Regards, Jens
Received on Wed Dec 7 08:24:37 2005


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