Hi,
Please find the attached. Any note less than a value of 64 will be converted to MIDI CH 7 for full brightness. This applies to the LED’s on the button matrix only. For the side at bottom buttons we leave at MIDI CH 1.
I use the local variable oo to store the desired MIDI Channel.
I also fixed your outgoing from the APC MINI MK2 which should be MIDI CH 1 not MIDI CH 2.
Here are the rules of translator 0.1
// Only notes 0-63 need setting up for MIDI CH 7 (brightest)
if pp>63 then oo=0
// full brightness for button matrix on MIDI CH 7 (zero based)
else oo=6
This post references how the APC MINI MK2 interprets messages. You may want to also customize the velocities which would control the color the device displays (on the button matrix only).
DaslightBasic-sjc.bmtp (1.7 KB)
Steve Caldwell
Bome Customer Care
Also available for paid consulting services: bome@sniz.biz