What is a midi file?
The MIDI file does not contain digital sound, but rather commands intended to control MIDI instruments such as a synthesizer, which translates them into musical notes.
Among other things, the MIDI file contains data on each of the notes to be played (duration, volume, key, channel number, velocity, etc.).
A MIDI file does not record actual sounds, but rather a series of messages that indicate how the instruments should be played.
Essential MIDI messages
The messages contained in a MIDI file include precise instructions that can control everything from the pitch and duration of each note to more subtle aspects such as dynamics and expression.
Here are some examples of common MIDI messages:
- Note On/Off: Signals the beginning and end of a note.
- Program Change: Indicates a change of instrument (the default instrument for a MIDI track is the grand piano. The “Program Change” message allows you to set another instrument, such as the double bass, for example).
- Control Change: Adjusts parameters such as volume or modulation.
- Pitch Bend: Changes the pitch of the note being played.
MIDI files, short for Musical Instrument Digital Interface, are essential to digital music.
Their format is standardized.
They allow different electronic instruments, computers, and other musical equipment to communicate with each other.