r/arduino • u/SapirCa • 7d ago
Arduino sketch that plays a hand-annotated EDM track on a WS2812B strip (from my PhD tool, TimeCues Studio)
Hi everyone. During my PhD I wrote a tool, TimeCues Studio, for marking the structure of electronic tracks by ear: parts, buildups, drops, hits. The animation is from it.
There's now an Arduino sketch that takes those marks (converted to a header file) and plays them on a WS2812B strip with no microphone: a color per part, a chase over spans, a flash per hit. Start it from a button or the Serial Monitor on beat one.
Hardware: any FastLED board (Uno, Nano, ESP32...), strip on pin 6 by default. Pin, LED count and type sit at the top of the sketch.
Not tried on physical hardware yet, it ran in a simulator.
Sketch and docs: https://github.com/sapirca/timecues-studio/tree/main/tools/led
Annotator demo: https://timecues-demo.pages.dev
