I was expecting something like a Meta-Event Sequence Number per track
I've interpreted Type 2 MIDI files as being a way to store a collection of Type 0 MIDI files in a single file. I also imagined the Sequence Number and/or Sequence/Track Name meta events could be used at the beginning of each track in a Type 2 MIDI file to help identify each track as part of some overall collection. For example, I have imagined that a drum machine might export all of its drum patterns to a single Type 2 MIDI file, with each track representing one pattern, beginning with a Sequence Number meta event to store the pattern number. However, I have no idea if anything like this was ever actually done.
About Jason's example Type 2 MIDI files:
In the previous thread where Jason posted those example Type 2 MIDI files
, there was some discussion about them being from a Star Wars video game. I investigated a little and believe they are from the LucasArts game Star Wars: Dark Forces. It looks like the music in that game is actually contained in GMD files
. However, the content of a GMD file includes MIDI file chunks, so it would be easy to extract the MIDI file chunks from a GMD file into a separate MIDI file.
The page about GMD files says the System Exclusive messages they contain are part of LucasArts's iMUSE format
. Wikipedia describes iMUSE is an "interactive music system" used "to synchronize music with the visual action in a video game so that the audio continuously matches the on-screen events and transitions from one musical theme to another are done seamlessly." So it appears the Type 2 MIDI file chunks inside those GMD files are used to store MIDI snippets that are switched between based on actions in the game.
they look like normal files with the only difference that they are the first I've seen with system-exclusive events, some have many of these events [F0 7D 01 00 01 00 01 04 03 10 00 F7] [F0 7D 03 63 6C 65 61 72 20 63 61 6C 6C 62 61 63 6B 00 F7]
Those System Exclusive messages use a "Manufacturer ID" of 7D. The MIDI 1.0 specification
"Special ID 7D is reserved for non-commercial use (e.g. schools, research, etc.) and is not to be used on any product released to the public. Since Non-Commercial codes would not be seen or used by an ordinary user, there is no standard format."
I interpret that to mean a System Exclusive message with Manufacturer ID of 7D should only be used for private purposes. (If you need to create System Exclusive messages for public use, The MIDI Manufacturers Association wants you to pay for a Manufacturer ID and publish the format of System Exclusive messages you create with it.) If the game only stores those System Exclusive messages in its private GMD file format, that's sort of a private use even though it was part of a publicly released commercial product, since they're technically not MIDI files.
By the way, I noticed that after the 7D byte, the next byte seems to be either 00, 01, or 03. If it is 03, then the following bytes are actually ASCII text ending with a 00 byte and the F7 byte that ends the System Exclusive message. These text commands are mentioned in the page about GMD files, but it only lists their patterns and says their meaning is unknown.