I have created a script based on the Channel Select example, which does the same thing, plus it optionally duplicates all MIDI to 2 additional channels (unless set to 0). Nothing fancy (see attachment).
It works correctly for note on and off messages, but it doesn’t for bends. More specifically, when no duplication is active (the 2 additional channels are set to 0), it correctly sends bends to the new main channel (as does the Channel Select script), but as soon as I select one additional channel out of the 2 available, bends stop appearing completely, and I only get Pitch Wheel to zero messages on both channels, right before note on messages, exactly as if bends were disabled globally in the interface.
I don’t understand what / if I’m doing something wrong.
Thanks for your help !
Channel Duplicate.lua (1.9 KB)