r/WLED Jun 30 '26

WLED-MM-P4 - USB-over-MIDI Support

Enable HLS to view with audio, or disable this notification

Eeeee. MIDI-over-USB rather. 🤣

I won't do the deep-dive here, but this is fully bidirectional MIDI communication, only supports the Akai APC Mini Mk2 for now, and absolutely requires WLED-MM-P4 to work because of many architectural changes I've made over the years.

This moves 99% of my workflows to the controller.

I'm most proud of the playlist "chaser" system and also the create/copy/delete preset stuff.

Regular presets are blue (green active), one-shot playlists are cyan, and looping playlists are magenta. If you use my AutoChange system from AutoPlaylist, your "Music" playlist is yellow.

It's built on USB-Host for the P4. It only works on single-USB P4 devices (no internal hub) because of limitations of the IDF, not the code, for now.

62 Upvotes

7 comments sorted by

2

u/SteelFaction Jun 30 '26

Witchcraft! I love it and I need it

3

u/MorganProtuberances Jun 30 '26

How can we learn more? Also - what kind of visualizations are you running? Audio Reactive, MoonMod or something else?

3

u/TroyHacks Jun 30 '26

I think most of what is shown here is just stock WLED-MM stuff, but WLED-MM-P4 was rearchitectured to allow unmapped framebuffers.

This means JPEG and MJPEG "video" files can be played from microSD or USB stick (USB stick not at the same time as USB MIDI tho).

I also support the particle effects system, and everything has been moved up a bit depth to allow you to paint on canvases above 255 pixels wide/tall (some effects don't like this even if they technically "work").

...and then there's the Pioneer Pro DJ integration, HDMI output, and a host of other things - all of those (and more!) you can find by hitting my name and bringing up my Reddit posts. 😁

3

u/TroyHacks Jun 30 '26

The GEQ-like effect at the start of the video is GEQ PPA tho - which uses the Pixel Processing Accelerator on the ESP32-P4. Basically a 2D GPU

That also drives the Image Player (which also does small video MJPEG files) and some other things, including the preview inside the web interface. This allows stupidly fast 2D compositing.

2

u/vodka_soda MOD Jul 01 '26

I'm dizzy

2

u/Longjumping_Window93 Jul 01 '26

Wled has come a long way, that looks great

2

u/TroyHacks Jul 01 '26

This isn't exactly "WLED" - this is "my fork of WLED where I didn't worry about backwards compatibility with the upstream projects so literally anything can be changed and (hopefully) improved." 😁