I've recently got a Novation Launchpad Pro and am hoping to wire it up into Logic (and eventually MainStage) so that I can control a bunch of different effects and instruments live. What I'm currently trying to do is figure out how to redirect incoming note events to different software instruments. Currently, I have a "Launchpad Input" channel strip that is set as record-enabled and listening on MIDI channel 1, and a "Target Instrument" channel strip listening on MIDI channel 2. I have a Scripter plugin set on the Launchpad Input strip, and tracing events shows that they're being correctly routed.
Currently, I'm resending the event to a different MIDI channel:
function HandleMIDI(event)
{
event.channel = 2;
event.trace();
event.send();
}
This produces the correct log output, but the Target Instrument channel strip doesn't seem to be receiving input events.
What am I doing wrong?