How MIDI Tuning Establishes Middle A at 440 Hz
The standard Musical Instrument Digital Interface (MIDI) protocol establishes musical pitch by pairing a discrete numbering system with mathematical formulas grounded in 12-tone equal temperament. Central to this framework is MIDI Note Number 69, which is hard-coded by default to correspond to the global concert pitch standard of Middle A (A4) vibrating at 440 Hz. Through this foundational reference point and the subsequent implementation of the MIDI Tuning Standard (MTS), electronic instruments maintain consistent pitch mapping across different hardware and software synthesizers.
The MIDI Note Numbering System
The standard MIDI specification assigns each musical note an integer between 0 and 127. Under this indexing system, semitones progress sequentially:
- Note 0: C-1 (approx. 8.18 Hz)
- Note 60: Middle C (C4, approx. 261.63 Hz)
- Note 69: Middle A (A4, 440.00 Hz)
- Note 127: G9 (approx. 12,543.85 Hz)
By designating Note 69 specifically as A4, the specification anchors the MIDI scale directly to the ISO 16 standard concert pitch.
The Equal Temperament Formula
MIDI relies on 12-tone equal temperament (12-TET), where an octave is divided into 12 semitones, each related by a frequency ratio of the twelfth root of two (\(\sqrt[12]{2} \approx 1.059463\)).
To convert any MIDI note number into its corresponding frequency, sound engines use the following standard equation:
\[f = 440 \times 2^{\frac{n - 69}{12}}\]
In this formula, \(n\) represents the MIDI note number, and \(f\) represents the frequency in Hertz. When the note played is Middle A (\(n = 69\)):
\[f = 440 \times 2^{\frac{69 - 69}{12}} = 440 \times 2^0 = 440\text{ Hz}\]
Because any number raised to the power of zero equals one, the equation directly isolates 440 Hz as the base frequency. Every other note's frequency is calculated relative to this reference.
The MIDI Tuning Standard (MTS)
While the base specification assumes equal temperament referenced to A440, the MIDI Manufacturers Association introduced the MIDI Tuning Standard (MTS) to accommodate microtonal scales, alternative temperaments, and variable reference pitches.
MTS utilizes System Exclusive (SysEx) messages to alter tuning without breaking the core note architecture:
- Master Tuning: A single SysEx command adjusts the global reference frequency away from 440 Hz (for instance, to A = 432 Hz or A = 442 Hz) across all 128 note numbers simultaneously.
- Frequency Resolution: MTS defines pitch using a three-byte frequency format: one byte for the base semitone and two bytes for fractional semitone changes. This divides each semitone into 16,384 divisions (approximately 0.0061 cents of precision), allowing precise adjustments while keeping Note 69 as the default baseline.
Through this combination of standardized note numbering, a zero-exponent mathematical anchor, and optional MTS SysEx overrides, the standard MIDI system rigidly establishes and maintains the 440 Hz Middle A benchmark across digital audio tools.