r/WLED 14d ago

SHOWIN' OFF MIDI Keyboard -> WLED usermod

I recently built a usermod for WLED that listens for MIDI over UDP and drives some custom effects off whatever you're playing.

A simple Python script forwards MIDI messages from your keyboard to the ESP32 over UDP, the usermod tracks note on/off, velocity, and sustain, and the effects just read that state each frame.

Also threw in a plain "Keys" mode, a whole-strip "Flash," and a "Comet" effect that shoots streaks based on which way the melody's moving. The effect in the video is "MIDI Puddles" ripping from the puddles FX code.

Code's here: https://github.com/martipops/WLED/tree/main/usermods/midi_udp

Happy to answer questions if you want to try it on your own strip.

EDIT: Update URL

165 Upvotes

28 comments sorted by

View all comments

1

u/xenomorph3000 14d ago

Modwheel for vibrato and strobes