If Audiotrack's suggestion does not give the result you expect, can you clarify whether you mean multiple tracks or multiple channels?

Type 0 MIDI files have only one track, which can have up to 16 channels.

Type 1 MIDI files can have multiple tracks, each with up to 16 channels.


I work here