FF 00 02 ssss Sequence Number
This optional event, which must occur at the beginning of a track, before any nonzero
delta-times, and before any transmittable MIDI events, specifies the number of a
sequence. In a format 2 MIDI file, it is used to identify each "pattern" so that a "song"
sequence using the Cue message to refer to the patterns. If the ID numbers are
omitted, the sequences' locations in order in the file are used as defaults. In a format 0
or 1 MIDI file, which only contain one sequence, this number should be contained in the
first (or only) track. If transfer of several multitrack sequences is required, this must be
done as a group of format 1 files, each with a different sequence number.
According to the SMF specification, we can see the ID numbers can be omitted (thus it will be like FF 00 00 rather than FF 00 02 ♂♂ ♂♂), we should check this although the Sequence Number event has (maybe) never really been used.
Ref: core/qmpmidiread.cpp Line 74
According to the SMF specification, we can see the ID numbers can be omitted (thus it will be like
FF 00 00
rather thanFF 00 02 ♂♂ ♂♂
), we should check this although the Sequence Number event has (maybe) never really been used.:stuck_out_tongue: