MIDI Song Position Pointer message

5

A MIDI event that carries the MIDI song position pointer message tells a MIDI device to cue to a point in the MIDI sequence to be ready to play.

This message belongs to the category of MIDI system common messages.

This message consists of three bytes of data. The first byte is the status byte and has a hexadecimal value of 0xF2 signifying that this is a song position pointer message. Two bytes follow the status byte. These two bytes are combined in a 14-bit value to show the position in the song to cue to. The top bit of each of the two bytes is not used. Thus, the value of the position to cue to is between 0x0000 and 0x3FFF. The position represents the MIDI beat, where a sequence always starts on beat zero and each beat is a 16th note. Thus, the device will cue to a specific 16th note.

Each 16th note can easily be interpreted into time as the MIDI device should know the number of MIDI ticks per quarter note and the length of a MIDI tick (see MIDI time division for more information).

The following is an example of a MIDI song position pointer message.

0xF2 0x00 0x08

The status byte 0xF2 shows that this is a song position pointer message. 0x00 and 0x08 have the binary representations 00000000 and 00001000 and so they form the 14-bit value 00000000001000, which is 8 decimal. 8 sixteenth notes is 2 quarter notes, but since the first quarter note occurs at beat zero, this message will prompt the MIDI device to cue to the third quarter note at beat 2.

See also:
Musical Instrument Digital Interface (MIDI)



  Rating
Rate This Page: Poor Great   |  Rate Content |
Average rating:  5   
00001
12345
Number of Ratings : 1
  Comments
Add Comment
No Comments Yet


Copyright 2006 by Kaliopa Publishing, LLC