Project

General

Profile

Feedback #9434

Volume sliders shouldn't be linear

Added by nand about 8 years ago. Updated almost 8 years ago.

Status:
Needs Clarification
Severity:
Low
Assignee:
-
Category:
Audio
Target version:
-
Version:
Platform:
Linux
Expansion:
Language:
English (US)
Mod Related:
No
Votes:
Arrow u r green
Arrow d r red

Description

The human psychoacoustic system does not perceive sounds linearly, which makes the current volume sliders a bit awkward to deal with. (I basically have to make all my adjustments around the lower 10%-20% range)

“Idea” volume adjustments are logarithmic, but for games it's generally desirable to preserve the property of 0% mapping onto a signal level of 0, so an easy approximation you can use is to take the squared or cubed slider level. (A more sophisticated slider could be exponential with a linear slope near zero, which is how most hardware volume knobs on mixing devices etc. work)

For more information see e.g. http://www.dr-lex.be/info-stuff/volumecontrols.html

(e.g. a slider level of 50% would translate to a signal level of 0.5^2 = 0.25 or 0.5^3 = 0.125 instead)

History

#1 Updated by TriggerAu almost 8 years ago

  • Status changed from New to Needs Clarification

Also available in: Atom PDF