The midi controller that I am building has 5 serial midi outputs on it and will not be using usbmidi. I am having a difficult time finding good examples that show how other people have handled multiple serial midi outputs with regards to assigning them to variables that I can cycle between.

Currently, my outputs are established as:
MIDI_CREATE_INSTANCE(HardwareSerial, Serial1, MIDI1);
MIDI_CREATE_INSTANCE(HardwareSerial, Serial2, MIDI2);
MIDI_CREATE_INSTANCE(HardwareSerial, Serial3, MIDI3);
MIDI_CREATE_INSTANCE(HardwareSerial, Serial4, MIDI4);
MIDI_CREATE_INSTANCE(HardwareSerial, Serial5, MIDI5);

This works fine for establishing my outputs and I can send commands to them individually but the problem I am trying to figure out is how to address them programmatically through a variable that i could change through an interface control such as a button.

Ideally assigning them to an array seems like the best option but for the life of me I can not decipher what the proper syntax is to do this with the MIDI.h library. Is there a better way to do it or is anyone familiar with how to handle this?