apc20 led control

Hi! Help to set up a grand ma 2 pc and akai apc 20 to change the color of the buttons?

Hi,

This is possible. The following diagram shows how this is done. We use 2 presets.

One preset is set up for APC 20 input and GrandmMa 2 output for sending note to your lighting application.

The other preset is set up for APC 20 input and also APC 20 output to control the LED’s.

GrandMA for PC does not offer automatic feedback for LED’s however you can send note information with the midinote command as part of a macro if you wish. It is a bit cumbersome to do this for many notes which is why I recommend using MT Pro to provide the feedback.

In the Feedback preset you set up translators such as below. The example below is to toggle the on-off state of the LED each time you push the button. I recommend you put your APC-20 in note mode as GrandMA for PC does not understand incoming CC but only notes.

I also recommend if you want to send faders, you set up translators to convert fader values to note velocity. I would recommend you also put your output of faders on a different MIDI channel so as not to collide with notes of the same number.


——
Translator : Note 40 Toggle
Incoming: Note-On MIDI Channel 1 set oo to channel note 40 set pp to note any velocity set velocity to qq
——-
//Rules:
// Toggle value – You will need a different global variable for each note
ga=ga^1
// Set color (I didn’t evaluate the color value so change to whatever your cotroller accepts
if ga==1 then qq=5
if ga==0 then qq=0

// End of Rules
——-
Outgoing: Note-On MIDI Channel oo Note pp velocity qq
Options: Swallow
——
This is for converting CC to note and should only be used on the first preset for sending to GrandMa2

Translator : CC to Note
Incoming: CC on any MIDI channel set to oo, Any cc number set to pp, Any value set to qq
——-
Rules:
// Increment channel for ccs
oo=oo+1
// End of Rules
——-
Outgoing: Note-On MIDI channel oo note pp value qq
Options: Swallow
——

 

Of course will need to set up GrandMA2 on PC to recognize BMT 1 as you input controller and set up Macros, Commands or Executors to do what you want.

Steve Caldwell
Bome Q and A Moderator and
Independent Bome Consultant/Specialist
bome@sniz.biz


Attachments:
![](upload://qq8q4pTEw3rhdgBvYLimKiK89vO.png)

Note, that this method could quickly gobble up global variables if you have lots of notes, however there is a technique called bit mapping that can reduce the number of global variables used. This is beyond the scope of support we do here, but I’m available for paid consulting or programming . Send me email if interested.

Steve Caldwell
Bome Q and A Moderator and
Independent Bome Consultant/Specialist
bome@sniz.biz