MIDI Sequence Number meta message

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)

Add new comment

Filtered HTML

  • Freelinking helps you easily create HTML links. Links take the form of [[indicator:target|Title]]. By default (no indicator): Click to view a local node.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.