Controlling a LED Sequence from a single MIDI note

Hi all,

This is my first post so apologies if I haven't categorised it properly or if this thread already exists.

I am new to coding on the Arduino and am hoping someone much more knowledgeable can help with my request.

I am trying to control a WS2812B LED Strip using the Arduino and sync it with my bands performance live which is run through REAPER. I am hoping I can take a MIDI output from a MIDI clip in REAPER, send the information to the Arduino and use the MIDI data to control several parameters of the LED strip such as brightness and colour. My simple idea for making it as easy as possible is to set certain MIDI notes to set patterns or sequences on the lights and to only have 1 MIDI note outputting from REAPER at a time E.g. a C4 MIDI note from REAPER will set all LEDs to flash Blue every second. And D4 will set all LEDs to be White until D4 note ends. Is this possible to do simply?

I have spent the past few days scrolling through code on github and trying everything I find but I've been unable to find anything that works currently.

I'm currently succeeding to control my LED strip with FastLED on the Arduino and I have become fairly confident with programming patterns and sequences. I now wish to control them automatically in time from the MIDI from REAPER using single notes. I have tried using loopMIDI and Hairless MIDI together to output MIDI from REAPER to the Arduino and I have got this working succefully and I can see the RX light flashing in time with the MIDI which is promising.

Can anyone provide me with code that will allow me to take an input of a certain MIDI note and then that trigger a FastLED command.

I would be very grateful for anyone that can assist with my query.

Have a look at Control Surface: MIDI Tutorial.

But keep this in mind: Interrupt problems · FastLED/FastLED Wiki · GitHub

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.