Multiple LED feedback states on single midi-button... combining blink+colour sequences

i would appreciate any help in this area
as any programming of the logic in the rules section i find diffucult

im using a maschine Jam controller in midi mode, in which i can change the LED feedback of colours using midi note velocity with their corresponding indexed values

i’ve been wondering how to implement various feedback states
so that LED combinations will utilise blinking speeds alongside alternating colour combinations?

i also require that feedback remains looped(active) until a new midi input is triggered to set off another LED combination, & disable the feedback state of the previous

4 states would be a good starting point for a single colour
LED on
LED off
LED blinking Slow
LED blinking Fast

& then another translator to add a alternating LED colour

& another translator LED colour that would have a alternating colour + a fast blink on one of the colours to differentiate a different state??

im not sure how complex the rule-set might become, but the idea is to have recognisable Feedback states on a single button for monitoring purposes

im not even sure if this is entirely practical?

Hi,

The attached demo project should help.

First, I set up my aliases as follows. You will need to assign them based on your physical controller.

You can learn more about aliases from this tutorial.

Then I set the routing of the translators inn preset 1 (LED control for input of My Controller and output of My Controller.

For more information about device selection, see this tutorial.

Global variables used are documented in translator 0.2.

// color state selector
ga=0
// on color for flash
gb=0
// off color for flash
gc=0
// flash toggle flag
gd=0
// flash note number
gd=0


The rules of translator 1.0 handles the desired LED state selection.

ga=ga+1
// cycle through colors these are colors of APC MINI
if ga>5 then ga=0
// off
if ga==0 then qq=0
// red
if ga==1 then qq=3
// green
if ga==2 then qq=7
// orange
if ga==3 then qq=5
// slow timer with green flash
if ga==4 then Perform "Flash", 3,7,pp,500
if ga==5 then Perform "flash", 3,0,pp,100
// First parameter is on color
// second parameter is off color
// third parameter is note number
// fourth parameter is flash speed in ms
// only 4 and 5 are flash so kill timer if not flash
if ga<4 then Perform "Kill Flash"

For state 0-3, we just send the desired color to the LED.
For state 4 and 5 we use perform to start a flash timer with the desired color using Perform ‘Flash’ with 4 parameters as shown above. The starting of the flash timer is handled in translator 1.1 which starts the timer (translator 1.2)

If the state is less than 4 we kill the flash timer which is translator 1.3

The APC MINI actually has an internal flash mechanism which I’m not using because I cannot control the frequency or on and off colors. This is why I’m doing it with Bome MIDI Translator Pro with a timer.

LED-Color-Cyle-Demo-2025-05-01.bmtp (3.2 KB)

I hope this helps!

Steve Caldwell
Bome Customer Care


Also available for paid consulting services: bome@sniz.biz

thank you Steve, i really appreciate all the help you provide…

with the example you have provided im sure i will make headway to incorporate into my maschine Jam controller, and change whats required

thanks again!!
awesome!!

1 Like

that example you provided works great
thanks again Steve