MIDI Sequence Number meta message

3.3

The MIDI sequence number meta message defines the number of a sequence in type 0 and 1 MIDI files, or the pattern number in type 2 MIDI files.

This message belongs to the category of MIDI meta messages. Since this is a meta message the MIDI event that carries this message may exist in MIDI files, but it is never sent over MIDI ports to a MIDI device.

This message consists of four bytes of data. The first byte is the status byte and has a hexadecimal value of 0xFF, which shows that this is a meta message. The second byte is the meta message type 0x00 and shows that this is a sequence number meta message. The remaining two bytes define the sequence number. These two bytes are combined to form a 16-bit value, where the first byte contains the eight most significant bits of the value and the second byte contains the eight least significant bits of the value as in the example below.

The following is an example of a MIDI sequence number meta message.

0xFF 0x00 0x00 0x02

The status byte 0xFF shows that this is a meta message. The second byte is the meta type 0x00 and shows that this is a sequence number meta message. The remaining two bytes define the sequence number 2.

A MIDI event that carries this message always has a delta time of zero and comes before non-zero delta time events.

See also:
Musical Instrument Digital Interface (MIDI)



  Rating
Rate This Page: Poor Great   |  Rate Content |
Average rating:  3.3   
10011
12345
Number of Ratings : 3
  Comments
Add Comment
kazem
i meant third byte...
Posted At 06-01-2016 03:49:57

kazem
i meant third byte...
Posted At 06-01-2016 03:48:16

kazem
shouldnt it be like other meta messages? "0xFF 0x00 0x02 0x00 0x02".(where second byte specifies the length). or is this message specific from other meta messages?
Posted At 06-01-2016 03:44:16

mic
Yes, you are right. I added a one sentence explanation on how the two bytes are combined into a 16-bit value.
Posted At 24-10-2013 06:23:01

Shimmy
You didn't explain how to combine the two remaining bytes.
Posted At 18-05-2013 22:52:14

Shimmy
You didn't explain how to combine the two remaining bytes.
Posted At 18-05-2013 22:52:07



Copyright 2006 by Kaliopa Publishing, LLC