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

Make "base coat" a slider in the web app for (at least) Spectrum Mode #29

Closed github-actions[bot] closed 4 months ago

github-actions[bot] commented 4 months ago

mag \= mag * 0.99 + 0.01;

https://github.com/connornishijima/Emotiscope/blob/d52ccd15e1f02a9ec52c2eb164c23537187a8b58/src/lightshow_modes/spectrum.h#L17


        for (uint16_t i = 0; i < NUM_LEDS>>1; i++) {
            float progress = float(i) / (NUM_LEDS>>1);
            float mag = magnitudes[i];
            // TODO: Make "base coat" a slider in the web app for (at least) Spectrum Mode
            // mag = mag * 0.99 + 0.01;
            CRGBF color = hsv(configuration.hue+(progress*configuration.hue_range), 0.9, mag);

            leds[63-i] = color;
            leds[64+i] = color;