Skip to content

Guide · 3 min read

What is a MIDI file?

A MIDI file is closer to a score than to a recording. It lists the notes to play, and an instrument or app turns that list into sound.

On this page
  1. Notes, not sound
  2. What is inside
  3. What you can do with it
  4. Making MIDI from audio
  5. Make a MIDI file from your song

Notes, not sound

MIDI stands for Musical Instrument Digital Interface, a standard from 1983 that lets instruments and computers exchange playing information. A .mid file saves that information.

Because it holds no audio, the file is tiny, and the same file can sound like a grand piano on one device and an electric piano on another.

An audio file and a MIDI file
MP3 or WAVThe recorded sound
MIDIThe notes and how they are played

What is inside

Each note has a number for its pitch, a start time, a length and a velocity, which is how hard the key was struck. Notes are grouped into channels and tracks, so each instrument can be handled on its own.

The values of a note
Pitch0 to 127 (middle C is 60)
Velocity1 to 127
Start and lengthCounted in ticks of the beat
Channel1 to 16
Note number 60, middle C

What you can do with it

You can slow a piece down without changing its pitch, mute one instrument, move it to another key, print it as sheet music or watch it as falling notes.

A MIDI keyboard sends the same kind of messages while you play, which is how an app can tell whether you pressed the right key.

Making MIDI from audio

Turning a recording into MIDI means working out which notes were played. It is an estimate: clear solo piano usually works well, while a dense mix with singing and drums is much harder.

Make a MIDI file from your song

Sources

Questions

Is MIDI the same as MP3?

No. An MP3 is recorded sound. A MIDI file is a list of notes that an instrument or app plays.

Why does my MIDI file sound different on another device?

The file names the notes, not the sound. Each device uses its own instrument sounds to play them.

Do I need a MIDI keyboard to practise on Midipia?

No. You can use the on-screen keyboard or your computer keys. A MIDI keyboard works in Chrome and Edge.