Thanks DvlsAdvct for this brilliant help.
I' ve tested and works amazing, very nice. I realize just one issue: this translators just send note ON messages, so the notes plays in an endless loop. So i just use your translator as a template to complement it with 3 translators to achieve note OFF:
Code: Select all
For NOTE ON (your translators a bit modified)
Translator 1: Channel Down
Incoming Message: 90 97 qq < < change this to permit velocity changes during playing. Inputs in CH 1.
Rules: g0=g0-1
if g0<144 then g0=144
Outgoing Action: None
Translator 2: Channel Up
Incoming Message: 90 98 qq
Rules: g0=g0+1
if g0>159 then g0=159
Outgoing Action: None
Translator 3: MIDI Passthrough
Incoming Action: 90 pp qq
Outgoing Action: g0 pp qq
For NOTE OFF (the new translators)
Translator 4: Channel Down
Incoming Message: 80 97 qq
Rules: h0=h0-1
if h0<144 then h0=144
Outgoing Action: None
Translator 5: Channel Up
Incoming Message: 80 98 qq
Rules: h0=h0+1
if h0>159 then h0=159
Outgoing Action: None
Translator 6: MIDI Passthrough
Incoming Action: 80 pp qq
Outgoing Action: h0 pp 00 < < velocity 0
Works nicely. I have a MIDI keyboard with 63 inputs (notes) i decided to use the 2 last high notes (97/98) for control MIDI shift channel, so this is the reason to setup all on the same channel. Maybe i could use after, a kind of MIDI note/range filter because this notes send sound each time i press them (when use piano, synths, etc).
My keyboard has also modulation wheel and pitch bend, that sadly as expected, doesn't change with the notes ON/OFF. I dont know if is possible to use translators for these controls change MIDI channel simultaneously with the notes of the keyboard?
Well thanks a lot for your help. All of you are really genius.