Momentary Button into Latch

studio-ettikit

2015-03-23 03:10:33

Hey guys,

I'm working with the novation launchkey 49 and I've noticed that when not in incontrol the track activator buttons on the mixer section are momentary. I was hoping to create a rule for these buttons as to turn them into latching buttons so I can assign to specific track activators for a live session.

Unfortunately I'm a little new to bome's mid translator and was hoping I could get a little help with writing the rule for this functionality.

Any assistance is greatly appreciated!

DvlsAdvct

2015-03-24 15:26:40

Hi Studio-ettikit

Turning a momentary button into a toggle switch is easy, but it depends on the message that is being sent.

What you want to do is use a translator that will cut out the "off" message and switch it to the second press of the button. It would look something like:

Code: Select all

Translator 1: Momentary to Toggle
Incoming Message: 90 30 7F
Rules: g0=g0+1
if g0>1 then g0=0
if pp=g0*127
Outgoing Message: 90 30 pp
This way, on the first press your outgoing message is 127 (1*127) and the second press is 0 (0*127). Since you don't process the outgoing 00 it should be ignored.

Does that make sense?
J

studio-ettikit

2015-03-24 19:22:56

Thanks got it all sorted! Appreciate it!