Control LED In APC 20

Hi, I’m new to Midi translator
I need to send the led on note once I press the button and keep it on
then off-led once I press the button again.
Is it possible?
Please advice

Thanks in advance

Hi, and welcome to the Bome Forum!

The attached should provide you an example and the framework you need. It has one translator and once global variable used (ga).

The rules are simple. We look for note 53 on MIDI CH 1 which is the upper left button of your APC20.
Everytime we push this button, your APC20 will send a note-on. So we trigger on this with a value of 127 (button pushed).
We toggle the value of ga and then send back to the controller the toggled value which will be either 0 (for off) or 127 (for on). Here are the rules:

// Toggle ga
ga=ga^1
// default state
qq=0
// set to 127 if on
if ga==1 then qq=127

I use the aliases “My Controller”. I don’t have an APC20, so you should point these aliases to your APC20 port instead of EC4-V2.

image
APC-20-Note.bmtp (1.1 KB)

Steve Caldwell
Bome Customer Care


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

A post was split to a new topic: Mutually Exclusive Buttons - APC20