This simple script routes incoming midi from one channel and outputs it to a different channel. I wrote it to be used in conjunction with my Launchpad Mini Mk3 Drum Sequencer script (see the notes for that script for the how and why). Add the script in AUM in another instance of Mozaic, and route between the output of the first Mozaic instance and the destination app. It also removes the need to filter the destination app midi channel.
The knobs change the input and output channels. The initial setting is for use with my sequencer script – input channel 12, output channel 10.