MIDI beat clock, or simply MIDI clock, is a clock signal that is broadcast via MIDI to ensure that several MIDI-enabled devices such as a synthesizer or music sequencer stay in synchronization. Clock events are sent at a rate of 24 pulses per quarter note. Those pulses are used to maintain a synchronized tempo for synthesizers that have BPM-dependent voices and also for arpeggiator synchronization.

MIDI beat clock differs from MIDI timecode in that MIDI beat clock is tempo-dependent.

Location information can be specified using MIDI Song Position Pointer (SPP, see below), although many simple MIDI devices ignore this message.

Messages

edit

MIDI beat clock defines the following real-time messages:

  • clock (decimal 248, hex 0xF8)
  • start (decimal 250, hex 0xFA)
  • continue (decimal 251, hex 0xFB)
  • stop (decimal 252, hex 0xFC)

MIDI also specifies a System Common message called Song Position Pointer (SPP). SPP can be used in conjunction with the above real-time messages for complete sync. This message consists of 3 bytes; a status byte (decimal 242, hex 0xF2), followed by two 7-bit data bytes (least significant byte first) forming a 14-bit value that specifies the number of "MIDI beats" (1 MIDI beat = a 16th note = 6 clock pulses) since the start of the song. This message only needs to be sent once if a jump to a different position in the song is needed. Thereafter only real-time clock messages need to be sent to advance the song position one tick at a time.

Pulses per quarter note

edit

Pulses per quarter note (PPQN), also known as pulses per quarter (PPQ), and ticks per quarter note (TPQN), is the smallest unit of time used for sequencing note and automation events.[1]

The number of pulses per quarter note is sometimes referred to as the resolution of a MIDI device, and affects the timing of notes that can be achieved by a sequencer.[2][3] If the resolution is too low (too few PPQN), the performance recorded into the sequencer may sound artificial (being quantised by the pulse rate), losing all the subtle variations in timing that give the music a "human" feeling. Purposefully quantised music can have resolutions as low as 24 (the standard for Sync24 and MIDI, which allows triplets, and swinging by counting alternate numbers of clock ticks) or even 4 PPQN (which has only one clock pulse per 16th note). At the other end of the spectrum, modern computer-based MIDI sequencers designed to capture more nuance may use 960 PPQN and beyond.

This resolution is a measure of time relative to tempo since the tempo defines the length of a quarter note and so the duration of each pulse. The resulting PPQN per MIDI-Clock is thus related to the TimeBase in Microseconds defined as 60.000.000 / MicroTempo = Beats per minute.[4]

See also

edit

References

edit
  1. ^ Anderton, Craig cn (1986). MIDI for musicians. Internet Archive. New York : Amsco Publications. pp. 8–10. ISBN 978-0-8256-1050-9.
  2. ^ Rumsey, Francis (1990). MIDI systems and control. Internet Archive. London; Boston : Focal Press. p. 88. ISBN 978-0-240-51300-3.
  3. ^ Price, Zack (2004). The beginner's guide to computer-based music production. Internet Archive. New York : Cherry Lane Music; [Milwaukee, WI : Distributed by Hal Leonard]. pp. 77–79. ISBN 978-1-57560-564-7.
  4. ^ "MIDI File Format: Tempo and Timebase".
edit