Rig manager: MIDI devices zones and channels

Here you have the GPScript to copy/paste in the Gig script editor, modify to match your own Device Alias Name you defined in Rig Manager and compile:

Var
  Keyb_Omni, Keyb_1, Keyb_2 : MidiInDeviceAlias // Replace by your own Device Alias Name you defined in Rig Manager
  
On MidiEvent(m : MidiMessage) from Keyb_Omni
  Var channel : Integer = m.GetChannel();

    Select
      channel == 1  Do InjectMidiEventViaRigManager(Keyb_1, m.WithChannel(1));            
      channel == 2  Do InjectMidiEventViaRigManager(Keyb_2, m.WithChannel(1));      
      true          Do InjectMidiEventViaRigManager(Keyb_Omni, m); // passes the message thru if not dispateched to one of the Keyb_n, remove the line if unnecessary 
    End 
End

Please, give us a feeback if it works for you…

1 Like