Here's an environment that will let you automate the switching of the instruments assigned to your keyboard. Useful for a live situation where you want a certain keyboard to play a certain instrument during a section, and another during the next section...
Building on this template, it's easy to assign many keyboards to many Audio Instruments ... in fact you can easily assign 16 Keyboards, switching between up to 127 different Audio Instruments <i>each</i> (that would be 2032 Audio Instruments, if they were available).
In this environment, we automate the assignement of two live keyboards, switching between 4 Audio Instruments each.
Bar 1 to Bar 3
Key 1 plays an ES 1
Key 2 plays an ES E
Bar 3 to Bar 5
Key 1 plays an ES 2
Key 2 plays an ES P
Bar 5 to Bar 7
Key 1 plays an ES M
Key 2 plays an EVP 88
Bar 7 to Bar 9
Key 1 plays an EVD 6
Key 2 plays an AnSwirl
Always make sure both Keyboard 1 and Keyboard 2 Tracks are rec-enabled. As you hit play you can see the Meta Events change the state of the Instrument Assigner in the environment window, and you can see the blue cabling jump from one Instrument to the next.
To get a full sense of how this environment works, you need to press play and play your keyboard. If you have two keyboards, set one to send to Cha 1 and the other to Cha 2. If you only have one keyboard, you can switch between the 2 banks of 4 Audio Instruments each by switching the send on Cha 1 or Cha 2. Or you can just stay on one of those Channels and enjoy the automatic switching between the 4 Audio Instruments.
Update:
I have added functionality so that there is an "All notes off" event sent to the Audio Instruments upon switching, to avoid stuck MIDI notes in the case you were sustaining notes on your keyboard while logic is switching to another Instrument.



