Key Moments

MIDI & Digital Music Making - Computerphile

ComputerphileComputerphile
Education4 min read22 min video
Nov 22, 2017|69,310 views|2,257|240
Save to Pod
TL;DR

MIDI: Musical Instrument Digital Interface explained, from its 1980s origins to modern uses.

Key Insights

1

MIDI transmits musical performance data, not audio, enabling smaller file sizes and sound editing flexibility.

2

It uses channels (1-16) to address different devices and a chain-like connection system.

3

MIDI messages include Note On/Off, velocity, aftertouch, pitch bend, modulation, and system exclusive data.

4

Key applications include music production, game soundtracks (General MIDI), and live performance rig control.

5

MIDI's breakdown of time code into multiple messages highlights its 1980s data transmission constraints.

6

Despite its age, MIDI remains robust, versatile, and foundational for digital music creation.

THE BIRTH OF MIDI AND ITS CORE CONCEPT

MIDI, standing for Musical Instrument Digital Interface, emerged in 1983, with earlier prototypes from Roland. It revolutionized music production by enabling digital devices to communicate performance data rather than raw audio. This is analogous to compression algorithms, storing a single sound and triggering it with data messages instead of full audio recordings, significantly reducing file sizes. The ability to alter sounds and timing post-performance offered immense creative flexibility, particularly for musicians less skilled on instruments or in sound design. Early adoption by computers like the Atari ST, with software like Steinberg's Cubase, facilitated entire compositions being created and stored in very small files.

MIDI CHANNELS AND CONNECTION STRUCTURE

MIDI utilizes 16 channels, internally numbered 0-15, to address distinct pieces of equipment. Each channel can be assigned to a specific instrument or sound module, allowing for complex setups where a single data stream can control multiple devices independently. A mode called 'Omni' allows a device to listen to all channels. This channel system enables different tracks within a MIDI sequencer to send data to specific instruments, for instance, one track for piano, another for drums. While complex cabling is possible, the fundamental connection is often a daisy-chain from one device to the next, typically using 5-pin DIN connectors.

TYPES OF MIDI MESSAGES

MIDI communication is built upon several message types. 'Channel Voice' messages are the most common, akin to keyboard or computer events like 'key down' and 'key up'. These convey information such as note pitch, velocity (how hard a note is played), aftertouch (pressure applied after the initial note), and sustain pedal status. 'Channel Mode' messages handle basic functions like resets. 'System Common' messages are sent to all devices, while 'System Real-Time' messages include critical timing information like MTC (MIDI Time Code) and clock signals. Finally, 'System Exclusive' (SysEx) messages allow manufacturers to send custom data, enabling backup and restoration of device-specific settings and sounds.

GENERAL MIDI AND BROAD APPLICATIONS

The introduction of General MIDI (GM) standardized instrument assignments across channels, famously dedicating channel 10 to percussion. This standardization was crucial for the widespread use of MIDI in early computer games, allowing developers to embed music composed of note data. The sound quality then depended on the user's sound card. Beyond games, MIDI is essential in modern studios for sequencing and production. Live musicians also rely heavily on MIDI for performance control, using foot controllers to switch between numerous presets and sounds on guitar rigs or keyboard setups seamlessly, changing all patches simultaneously.

DEMONSTRATION OF MIDI DATA AND EDITING

A practical demonstration using Steinberg Cubase (version 8) illustrates MIDI's workflow. Notes played on a keyboard are visualized and recorded as 'note on' and 'note off' messages, with bar colors often representing velocity. Crucially, if mistakes are made, notes can be edited directly within the sequencer – moved, deleted, or adjusted for timing and velocity. This non-destructive editing capability is a core advantage of MIDI over audio recording, allowing for refinement of performances without re-recording. The visual representation of the data highlights the underlying messages controlling the sounds.

DECODING MIDI MESSAGES: HEXADECIMAL AND BEYOND

Examining captured MIDI data reveals its technical composition. Messages are often displayed in hexadecimal format. For instance, a 'note on' message includes the note number and velocity. Control change messages, like those from a modulation wheel, show incremental values as the wheel is moved. The 'zero' in the message often indicates channel one (as channels are 0-15 internally). This deeper dive into the data stream, particularly when dissecting time code, highlights how MIDI breaks down complex information, like time, into multiple smaller messages due to the limited data throughput of its era.

MIDI TIME CODE AND ITS ARCHITECTURE

The process of synchronizing devices via MIDI Time Code (MTC) vividly illustrates both MIDI's robustness and its historical constraints. To transmit time code (hours, minutes, seconds, frames), MIDI doesn't send it as a single chunk. Instead, it breaks it down into eight individual messages, each carrying a small piece of the time information. This segmented approach was necessary due to the data bandwidth limitations of the time from which MIDI originated. While this ensures reliable synchronization for audio, video, and lighting, it also reveals the system's dated design, requiring constant, small updates rather than a single-point data transmission.

ICONIC SOUNDS AND ENDURING LEGACY

Instruments like the Yamaha DX7, with its quintessential 1980s sounds, are intrinsically linked to MIDI's rise. Even with primitive default sounds, MIDI's power lay in its potential for later refinement. The video demonstrates a humorous application: playing a D minor chord, long associated with sadness, triggering the opening of Internet Explorer. This highlights MIDI's capability to control not just musical instruments but various computer functions. Despite its age and the development of more advanced protocols, MIDI's fundamental principles of transmitting performance data remain sound and are still widely implemented today, underpinning much of digital music creation.

Common Questions

MIDI stands for Musical Instrument Digital Interface. It's a technical standard that allows electronic instruments and computers to communicate, enabling them to send and receive musical information like note on/off, volume, and more.

Topics

Mentioned in this video

More from Computerphile

View all 82 summaries

Found this useful? Build your knowledge library

Get AI-powered summaries of any YouTube video, podcast, or article in seconds. Save them to your personal pods and access them anytime.

Try Summify free