3 ms·
I've been working on a weekend project to make lights that react meaningfully to music, by taking into account beats and chords. Here's a video of it: https://
by nsedlet 10y ago
I've been working on a weekend project to make lights that react meaningfully to music, by taking into account beats and chords. Here's a video of it: https://www.youtube.com/watch?v=h5sRgSmRGpg https://www.youtube.com/watch?v=h5sRgSmRGpg
It uses chordify.net to extract the beats and chords from the song. Code is here: https://github.com/nick264/music-processor-master https://github.com/nick264/music-processor-master
- StavrosK 10y agoThat looks fantastic, how do you synchronize the music with the lights? Presumably chordify doesn't return time information?
- nsedlet 10y agoYes Chordify has time information - it's pretty accurate too, and works for folk, rock, classical, whatever. It's just a matter of timing the lights with the audio output. My setup is a Raspberry Pi as a master, and an Arduino to talk to the lights (which is necessary because the RPi's pins are too slow to send signals to an addressable LED strip). The RPi sends chord and beats in real time as they happen, over USB. Every few seconds it syncs the light show clock with the audio player clock.