1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-24 03:55:06 +00:00
serenity/MenuApplets/Audio
Marcin Gasperowicz 3039c36836 AudioApplet: Make the slider exponential for finer volume control
The volume slider was linear, which is not ideal for an audio volume 
control. Perceived volume would not change much within 30-100% range
and would change in leaps within 0-30% range where the resolution is
not sufficient for fine grained control.

The simplest solution is to bring the value into 0.0-1.0 range and 
square it to obtain an exponential curve. This is a decent 
approximation of the logarithmic taper used in audio potentiometers.
2020-10-15 13:47:27 +02:00
..
.gitignore MenuApplets: Remove accidentally committed executable 2019-12-16 17:44:02 +01:00
CMakeLists.txt Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
main.cpp AudioApplet: Make the slider exponential for finer volume control 2020-10-15 13:47:27 +02:00