Skip to content

Add 'Track Character' and 'Spectral Balance' audio palettes - #1

Open
netmindz wants to merge 7 commits into
pr-palettesfrom
add-palettes-3-4
Open

Add 'Track Character' and 'Spectral Balance' audio palettes#1
netmindz wants to merge 7 commits into
pr-palettesfrom
add-palettes-3-4

Conversation

@netmindz

Copy link
Copy Markdown
Owner

Summary

  • Ports upstream WLED PR #5467 to this usermod.
  • Adds two new audio-reactive palettes (MAX_PALETTES 3 → 5): "Track Character" (spectral-centroid based hue) and "Spectral Balance" (bass/mid/high energy-ratio based hue).
  • Introduces paletteBandAvg[], a slowly-smoothed (~390ms time constant EMA, cadence-independent) per-band average used only by the two new palettes so their colors reflect overall tonal character rather than reacting to individual beats.
  • Resets paletteBandAvg alongside existing FFT data resets in onUpdateBegin() (both ESP32 and 8266 paths).

Test plan

  • Visual/behavioral verification requires building for ESP32 and observing the new palettes in the LED effects UI; not run in this environment.

netmindz and others added 7 commits June 20, 2026 13:02
Checks out WLED-MM and overrides AR_lib_deps via
platformio_override.ini to point at the commit under test,
then builds the esp32_4MB_V4_S environment.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add CI workflow to build WLED-MM against this repo
remove WLED_ENABLE_HUB75MATRIX network source hack
Ports upstream WLED PR #5467: adds two new audio-reactive palettes derived
from a slowly-smoothed (~390ms EMA) per-band average, using spectral
centroid and bass/mid/high energy ratio to drive hue/saturation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants