MIDI (Musical Instrument Digital Interface) is a digital communication standard that allows electronic instruments, computers and audio equipment to exchange performance data such as notes, velocity and changes of timbre. Introduced in 1983, it carries instructions describing which note is played, when and how hard, rather than the sound itself. The specification is maintained by the MIDI Association and Japan's AMEI, and a successor standard, MIDI 2.0, was announced in 2020.
On computers, digital audio workstations use MIDI data to drive virtual instruments and edit scores, and songs are stored in the Standard MIDI File (.mid) format. In AI, music generation models commonly use MIDI as an input and output format when working with symbolic, note-level data.