Lixie-Labs / Emotiscope

Let your eyes enjoy the music too ✨ Extremely low-latency audio processing lets LEDs perfectly synchronize to your music's notation and tempo.
https://emotiscope.rocks/
GNU General Public License v3.0
27 stars 5 forks source link

Convert speed slider to 0.0-1.0 range, only scale it to 0.5-10.00 where necessar... #35

Closed github-actions[bot] closed 4 months ago

github-actions[bot] commented 4 months ago

https://github.com/Lixie-Labs/Emotiscope/blob/134ac3a9e1b7ad73a196fa5b2e86e11f34a1fe0f/src/sliders.h#L37


    clear_sliders();

    register_slider("brightness", 0.000, 1.000, 0.001);
    register_slider("speed", 0.500, 10.000, 0.001); // TODO: Convert speed slider to 0.0-1.0 range, only scale it to 0.5-10.00 where necessary
    register_slider("hue", 0.000, 1.000, 0.001);
    register_slider("hue_range", -1.000, 1.000, 0.001);
    register_slider("incandescent", 0.0, 1.000, 0.001);