Home -> Magazines -> Issues -> Articles in this issue -> View
MIDI Matters (Part 1) | |
Song Position PointersArticle from Sound On Sound, February 1987 |
Sound On Sound's MIDI Doctor Jay Chapman, returns with a new series that concentrates on specific aspects of MIDI and explores their relevance and use in a musical set-up. This month: the Song Position Pointer.
Sound On Sound's MIDI Doctor, Jay Chapman, returns with a new series that concentrates on specific aspects of MIDI and explore their relevance and use in a musical set-up. This month: the SONG POSITION POINTER.
status byte | data bytes |
11110010 | 0lllllll Ommmmmmm |
where the first byte is the F2 status byte and each of the following two data bytes is effectively a 7-bit quantity since the first bit of all MIDI data bytes must be a 0. We thus have 14 bits available for the SPP, giving a range of possible values from 0 to 16,383 (= 127 x 128 + 127); the value in a given message wdata byte by 128 (decimal) and then adding in the first (least significant) data byte eg. Ommmmmmm x 128 + 01111111.
Since the SPP registers and messages count MIDI beats, and there are 6 such beats to a quarter-note or 24 beats to a 4/4 bar, we can identify uniquely any song position within nearly 700 bars of music to an accuracy of 1/16th of a bar. If you want to do a drop-in starting from three beats into the fifth bar of the second repeat of the dawn chorus, you can do it without having to play right the way through from the start...
Since the size of the SPP is finite, there is a limit on how long a song can be if you need to make use of MIDI Song Position Pointers. To give a worst case example, consider a 4/4 song playing at a tempo of 240bpm. Since each bar is 4 crotchet beats long and we can have about 700 of them in a song, then the maximum length in minutes that the song could last is:
(700 (bars) x 4 (crotchet beats per bar)) / 240 (crotchet beats per minute)
= just over 11½ minutes
which is long enough for your average pop song but doesn't quite handle Wagner's Ring Cycle!
To round off this page on the MIDI Song Position Pointer (SPP) it is worth pointing out that the big brother of the SPP will be the current proposal for an enhancement to MIDI, based on SMPTE timecode, called the MIDI Time Code (MTC, for short) which lets you pinpoint a position within a song to an accuracy of something like 1/30th of a second within 24 hours! That's not all it will do for you, of course, but you'll have to wait for a future article to find out more!
MIDI Lighting Control - Taking MIDI Beyond The Music |
Radio Days - Technology On The Air |
Adrift On An MTC - MIDI Time Code |
Technically Speaking |
The Sync-ing Feeling |
Using Timecodes - An Introduction To Timecode Synchronisation (Part 1) |
The Myths Of MIDI |
The MIDI 1.0 Specification |
Technically Speaking |
Adventures In MIDILand (Part 1) |
Drum Role - An application guide to Roland electronic percussion |
Interfacing The Past (Part 1) |
Browse by Topic:
Feature by Jay Chapman
mu:zines is the result of thousands of hours of effort, and will require many thousands more going forward to reach our goals of getting all this content online.
If you value this resource, you can support this project - it really helps!
New issues that have been donated or scanned for us this month.
All donations and support are gratefully appreciated - thank you.
Do you have any of these magazine issues?
If so, and you can donate, lend or scan them to help complete our archive, please get in touch via the Contribute page - thanks!