Multiple-channel USB Midi In with MainStage

Forum for the JD-XA.
Post Reply
MMU
Posts: 2
Joined: 02:10, 15 November 2017

Multiple-channel USB Midi In with MainStage

Post by MMU »

Hi there,

I just wondered if others knew you can use MIDI FX Scripter in MainStage (and probably Logic Pro X) to repeat MIDI input data across channels. I was tonight using the script below (inspired by https://www.logicprohelp.com/forum/view ... 5&t=136864) to duplicate note data from MIDI channel 1 on MIDI channels 2 to 8 before sending to my JD-XA. Not quite as good as "remote keyboard" support due to hard-coding part selection independent of patch (I won't be using it for this reason) but at least means can play and send multiple channels simultaneously via USB MIDI.

BR,
Mark

Code: Select all

function HandleMIDI(event) {
    if (event instanceof Note && event.channel == 1) {
        for (var i = 1; i <= 8; i++) {
            event.channel = i;
            event.trace();
            event.send();
        }
    }
    else {
        event.trace();
        event.send();
    }
}
User avatar
GilgaFrank
Posts: 49
Joined: 14:01, 22 May 2017
Location: Manchester!
Contact:

Re: Multiple-channel USB Midi In with MainStage

Post by GilgaFrank »

Kinda related, I use Bomes MIDI Translator to do a lot of MIDI routing. Highly recommended.

https://www.bome.com/products/miditranslator
Post Reply