Is it common to have a single instrument for a single channel split over multiple tracks? What kind of issues might this potentially cause?
I have run in to one particular file from Warcraft 2 that is bunging up my program, and after pulling my hair out for nearly all of yesterday, I finally figured out that the problem (in my case) stems from the fact that there is a bank select/program change for the "pad sweep" at the end of track 3 for channel 3, but also a bank select/program change for pad sweep on channel 3 at the beginning of track 4.
Because of the way I group instruments together, when I insert a BANK LSB to go with the MSB that's present, track 3 is getting its length extended by 4 extra bytes, while track 4 loses 4 bytes, which corrupts the midi file.
I can probably fix it by adding an additional check to only group them if they are on the same track, but I wonder how common it is for this to happen.