1) either on 4 channels "simultaneously" to get gliding for every voice (you set the same sound for all four voices)
2) or outputs to 4 different channels and can trigger four different sounds at once (depending on the trigger you hit, much like on the tribass: http://misa-digital.myshopify.com/products/tri-bass)
currently i can only use the preenfm for one or the other, but not both.
Reading that, i have the feeling you only need a 5th midi channel that would play all instrument at the same time for your case 1.
If that's the case you only need to modify MidiDecoder.cpp ?
void MidiDecoder::midiEventReceived(MidiEvent midiEvent) {
The first part of this function is where it checks whether the channel of the midi data it receives fit the preenfm2 configuration.
Add something like this in each of the 4 IF blocks :
|| (this->synthState->fullState.midiConfigValue[MIDICONFIG_CHANNELX]-1) == 15
And you'll be able to play all instruments at the same time when using midi channel 15.
Do i miss something ?