1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 20:28:11 +00:00
serenity/Userland/Applications/Piano/ProcessorParameterWidget
kleines Filmröllchen 889315e8aa Piano: Respect logarithmic parameters in sliders
If the underlying parameter is logarithmic, the slider respects that and
switches to a logarithmic display. Currently, the used base is e, and
we'll have to see in practice if 2 or 10 might be better. The parameters
that make use of this, as can be seen in the previous commit, are all of
the time dependent parameters such as the synth envelope parameters, as
with these, usually fine-grained control at small time scales and
coarser control at large time scales is desired.

This was a good opportunity to refactor the slider step count into a
constant.
2022-02-28 13:59:31 +01:00
..
Dropdown.h Everywhere: Use my new serenityos.org e-mail :^) 2022-01-14 11:54:09 +01:00
Slider.cpp Piano: Respect logarithmic parameters in sliders 2022-02-28 13:59:31 +01:00
Slider.h Piano: Respect logarithmic parameters in sliders 2022-02-28 13:59:31 +01:00
WidgetWithLabel.h Everywhere: Use my new serenityos.org e-mail :^) 2022-01-14 11:54:09 +01:00