I have been banging my head with this one. All I want to do is have a switch (at the moment CC119 on ch 1) to switch midi outputs from Ch 1 to Ch 2. I know this should be so easy but not for me!
Hi, the following should get you there.
I use the global value of ga to determine the MIDI channel. If MIDI Channel is 1 then ga is 0. If MIDI channel is 2 then ga is 1. The value of ga is set to 0 at the start of the project (translator 0.1)
Translator 1.0 handles the toggling function in rules. I also have stop processing set so the CC does not go through to the output.
Translators 1.1 and 1.2 handle the conversion in the rules depending on the length of the MIDI message. Essentially we keep the command byte but we strip the MIDI channel and then OR it with ga to get the MIDI channel and command byte into the value of oo.
Toggle-MIDI-Channel.bmtp (2.5 KB)
I hope this helps!
Steve Caldwell
Bome Customer Care
Also available for paid consulting services: bome@sniz.biz
Thanks! This works almost perfectly. I would like the switch to switch between Midi ch 1 and 2, at the moment I have to hit the switch twice (whether or not it’s set to momentary)?