mirror of
https://github.com/RGBCube/serenity
synced 2025-05-24 03:55:06 +00:00
![]() 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. |
||
---|---|---|
.. | ||
.gitignore | ||
CMakeLists.txt | ||
main.cpp |