Aw: [sc-users] Re: SimpleMidiFile: playing a midi file with various instruments
this looks like a bug in the .p method.
From the source code:
\instrument, inst.wrapAt( tr + 1 )
So it should actually be possible to pass an array of instruments,
but this leads to an error message
ERROR: Message 'secs2beats' not understood.
Instance of Array
As a workaround you could do this:
use the midiChannelEvents method to select tracks/channels and rewrite as SimpleMIDIFiles.
Then separate files can be played in parallel (Ppar) with different instruments.
With a dedicated Function this should not be too difficult.