turning lights on and off

Hello,

I am playing with the trial version before committing to purchasing BOME Midi Translator Pro. So far so good. I am using a Behringer X-Touch with Final Cut Pro X and have managed to control quite a lot of FCPx functionality using the x_Touch.

My query relates to lights on the buttons. I can easily send midi signals to the x-Touch to turn lights on however I cannot find an easy way to turn the light off when I press another button. There are some 80 buttons with lights on the x-Touch and I just want the button I programmed to be lit when I press it.

The only way I have been able to resolve this is to send a midi signal with zero velocity to all notes, when i press another button, that's 80 x 80 translators. There must be an easier way. Any help would be gratefully received.

 

Regards.

Hi,

You can use a timer and iterate through the note numbers to turn the LED's off.

 

------
Translator : Turn ga off notes
Incoming: Note Off any channel Any Note
-------
Rules:

// set counter
ga=80

// End of Rules
-------
Outgoing: Tmer "LED-Off" repeat ga times

Options: Swallow
------

------
Translator : LED Off timer
Incoming: Timer "Note off"
-------
Rules:

// keep in mind with X-touch you send note-on with velocity 0 to turn off an LED
pp=ga

ga=ga-1

qq=0

// End of Rules
-------
Outgoing: Note-On MIDI CH 1 Note pp value qq
Options: Swallow
------

 

If the note numbers are not sequencial, then you might need to set the note value based on the iteration number.

For instance

if ga==80 then pp=14

if ga==79 then pp=5

... etc

instead of just pp=ga

 

Steve Caldwell
Bome Customer Care


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

Hello dear FCP user,

what you share your FCPx bmtp file with me? I have programmed basic functions and marvel at your persistence in even getting the lights to work, chapeau! The timecode display is another feature it would be great to use. Perhaps you have pity with an impatient musician, thanks.

regards,
Anatole

Sure,

Note-off-Iteration.bmtp (1.2 KB)

Steve Caldwell
Bome Customer Care


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