What Is MIDI Beat Clock and How Does It Work?

MIDI Beat Clock is a standard synchronization protocol that locks the tempo of digital audio workstations, hardware synthesizers, drum machines, and sequencers together. This article explains what MIDI Beat Clock is, how its foundational 24 pulses per quarter note (PPQN) resolution functions to maintain consistent timing across interconnected gear, and why this specific pulse division remains the industry standard for tempo-based synchronization.

Defining MIDI Beat Clock

MIDI Beat Clock is a tempo-dependent System Real-Time message specified within the core MIDI protocol. Unlike time-based synchronization protocols such as SMPTE or MIDI Timecode (MTC)—which reference absolute hours, minutes, and seconds—MIDI Beat Clock references musical time, specifically bars, beats, and tempo changes.

In a MIDI setup, one device acts as the master clock, generating the timing data, while one or more connected slave devices listen to this stream and dynamically adjust their internal playback engines to stay in sync.

The 24 Pulses Per Quarter Note (PPQN) Standard

At the heart of MIDI Beat Clock is a continuous stream of timing clock pulses transmitted at a rate of 24 Pulses Per Quarter Note (PPQN). Every time a quarter note passes in musical time, the master device transmits exactly 24 individual clock messages (hexadecimal byte 0xF8).

The math behind PPQN is straightforward:

The number 24 was deliberately chosen by the creators of the MIDI specification because of its divisibility. It divides evenly by 2, 3, 4, 6, 8, and 12, allowing slave devices to easily calculate standard musical subdivisions, including straight time and triplets, without accumulating rounding errors that could cause timing drift.

How Tempo Calculation Operates in Practice

MIDI Beat Clock messages do not contain explicit tempo data (such as "120 BPM"). Instead, the receiving device calculates the tempo by measuring the time interval between incoming 0xF8 bytes.

For example, at 120 beats per minute:

  1. One beat (quarter note) occurs every 500 milliseconds.
  2. Dividing 500 milliseconds by 24 pulses yields roughly 20.83 milliseconds between each clock byte.
  3. The receiving device continuously tracks this interval. If the master tempo accelerates to 140 BPM, the interval between pulses decreases to approximately 17.85 milliseconds, and the receiving device immediately speeds up its playback to match.

Transport Commands and Position

To control playback alongside timing, MIDI Beat Clock relies on three primary real-time transport commands:

For mid-song synchronization, MIDI uses a separate System Common message called the Song Position Pointer (SPP). SPP sends a value representing the number of MIDI beats (measured in sixteenth notes, or groups of 6 clock pulses) elapsed since the start of the song. When a DAW plays from the middle of an arrangement, it sends an SPP message to cue slave sequencers to the correct measure before issuing a Continue command and resuming the 24 PPQN pulse stream.