A music-reactive light doesn’t have to analyze the music itself. In VU-meter Esp8266 - WS2812B, shared on Hackaday.io by mr.jb, a Winamp plugin supplies meter information while an ESP8266 running at 160 MHz handles the addressable LEDs. Created on February 12, 2015, the project is a proof of concept for that division of labor—not a finished, standalone audio analyzer.
The interesting question is where the work belongs. Keeping audio processing on the computer makes the first version simpler, while leaving the small Wi-Fi controller responsible for receiving updates and producing the timing-sensitive signal a WS2812B strip expects.
The PC supplies the meter; the ESP8266 drives the strip
mr.jb credits two starting points: Boris Ribov’s VU-meter project and CNLohr’s ESP8266 WS2812 driver. The listed hardware is modest: a Wi07-12 ESP8266 board, a 5 V-to-3.3 V supply module and half a metre of WS2812B strip at 30 pixels per metre—15 pixels in total.
That split matters when interpreting what the demonstration establishes. It exercises a network-connected LED output path; it doesn’t establish that the ESP8266 is simultaneously sampling audio, extracting its frequency content and driving the lights. Audio capture through gstreamer or an ADC, simultaneous control of several strips, and an app command protocol were listed as improvements rather than completed features.
The documentation is also closer to a collection of building blocks than a ready-to-flash package. mr.jb explicitly notes that adapting the snippets may require declaring missing variables. Anyone revisiting it should expect some integration work rather than a turnkey installation.
LED transmission time is not Wi-Fi latency
In the February 14, 2015 proof-of-concept log, mr.jb argues that the ESP8266 has processing headroom at 160 MHz and suggests the strip’s transfer rate may be the main limitation. The estimate given is:
LED count × 3 colour bytes × 8 bits × 1.25 microseconds, plus 50 microseconds.
For the listed 15-pixel strip, that works out to roughly 500 microseconds per strip update under that estimate. It’s a useful budget for transmitting pixel data, but it isn’t a measurement of the delay from a musical event to a visible response. Plugin scheduling, network delivery and firmware behavior sit outside that calculation.
A commenter asked about sending roughly 2 kB packets at more than 20 Hz with about 20 ms latency. mr.jb’s reply described reducing a delay in CNLohr’s demo to around 800 microseconds in 160 MHz mode; going lower reportedly caused the ESP8266 to restart, possibly because of a watchdog issue. That observation identifies a firmware scheduling limit, not a verified end-to-end latency result.
Scaling the strip remained an open test, too. In a February 25 comment, mr.jb said two 60-LED strips had been ordered and promised to report timing issues. The visible excerpts don’t include the resulting measurements, so the short-strip demonstration shouldn’t be treated as proof of larger installations.
Moving audio analysis onto the controller was the next experiment
The February 22, 2015 FFT log shows how mr.jb approached that next step: try an 8-bit fixed-point FFT inside Winamp first, then decide whether porting it to the ESP8266 would be worthwhile.
The snippet takes every fourth waveform sample, with a comment identifying an effective 11,025 Hz rate from 44.1 kHz input. It calls a 64-point FFT and displays 16 bins. This was a rough desktop experiment, not evidence of an FFT already running on the ESP8266. The stated goals were approximately 10 kHz ADC sampling on the controller, a small frequency display and eventually beat prediction for synchronized lighting.
Later entries point toward other approaches without closing that gap. In June 2016, mr.jb linked CNLohr’s ColorChord implementation but said it hadn’t yet been tried. The latest supplied log, dated February 24, 2019, describes a hardware-FFT test using a Kendryte K210/Sipeed M1 dock and its built-in MEMS microphone—a different hardware platform, not confirmation that the original ESP8266 goals were completed.
The enduring lesson is to separate three budgets: audio analysis, network delivery and LED transmission. This project makes that separation unusually clear. For a modern recreation, the most revealing next measurement would be the delay from a known audio event to the corresponding light change, repeated with longer strips and active Wi-Fi traffic. A fast pixel stream is only one part of responsive lighting.
Source: VU-meter Esp8266 - WS2812B