MIDI Lab AI LogoMIDI Lab AI

MIDI explained

What is MIDI? Notes, not sound.

MIDI is a way for music gear and software to talk. It sends instructions like which note to play, how hard and for how long. It never sends the sound itself.

Want to see it? Type an idea and MIDI Lab writes it as MIDI. Free account, 50 credits, no card.

Notes you can editWorks with synths and DAWsFree to try
The short answer

What is MIDI?

MIDI stands for Musical Instrument Digital Interface. It is a shared language for keyboards, drum machines, computers and apps. A MIDI message says something like "play this note, this hard, now." The device that gets the message makes the sound.

What is a MIDI file?

A MIDI file, ending in .mid, is a list of those messages saved in time order. Think of it as sheet music a computer can read. It holds the notes, their timing and their strength, but no audio. It needs an instrument to be heard.

Pitch: which noteLength: how long it is heldVelocity: how hard it is playedTime
What is in a MIDI file

Every note is a few small numbers.

A MIDI file does not store sound waves. It stores a short set of facts about each note. Here is what those facts are.

Note (pitch)

Which key is played. MIDI numbers the keys from low to high, with 128 notes in all. That covers more than a full piano.

Velocity

How hard a note is played, from soft to loud. It runs from one up to 127. Most synths play louder or brighter when velocity goes up.

Length

How long the note is held. MIDI sends a "note on" when the key goes down and a "note off" when it comes up. The time between them is the length.

Channel

Which instrument should listen. One cable or file can carry 16 channels, so the bass and the drums can each have their own.

Control change (CC)

Moves of a knob, slider or pedal. A CC message can open a filter, add vibrato or hold the sustain pedal. Each CC has a number and a value.

Tempo and time

The speed of the song in BPM, which means beats per minute. A MIDI file also stores the time signature, so apps know where each bar starts.

MIDI vs audio

MIDI vs audio: what is the difference?

Audio is a recording of sound. MIDI is the instructions to make sound. Each one is good at different jobs.

FeatureMIDIAudio (WAV, MP3)
What it holdsNotes, timing and strengthThe sound wave itself
Makes sound on its ownNo, it needs an instrumentYes
File sizeTiny, often a few kilobytesLarge, often many megabytes
Fix one wrong noteEasy, drag it or delete itHard, often you record again
Change the soundYes, pick any synth or pianoNo, the sound is fixed
Change key or tempoYes, with no loss in qualityPossible, but it can sound worse
Best forWriting, editing and playing gearVocals, live takes and the final mix
MIDI channels

16 lanes on one cable

Picture one MIDI cable as a road with 16 lanes. Each lane is a channel. You set a synth to listen to one channel, and it ignores the rest. That way one keyboard or one computer can play many instruments at once.

  • Bass on one channel, lead on another, pads on a third.
  • In the General MIDI standard, drums sit on channel 10.
  • In a MIDI file, each track usually has its own channel.
MIDI clock

How gear stays in time

MIDI clock is a steady tick that one device sends to the others. It sends 24 ticks for every beat. A drum machine that hears the clock plays at the same tempo. Start and stop messages make everything begin and end together.

  • One device leads and sends the clock. The others follow.
  • Change the tempo on the leader and the whole setup follows.
  • Clock carries timing only. It does not send any notes.
How MIDI gets from A to B

Cables, USB and the browser.

The messages stay the same. Only the way they travel changes.

Five pin MIDI cable

The round plug from the first MIDI gear in 1983. Many synths and drum machines still have MIDI In, Out and Thru ports.

USB MIDI

Most new keyboards, synths and interfaces send MIDI over a normal USB cable. Plug it in and your computer sees it as a MIDI device. Often you need no driver.

Web MIDI

Web MIDI lets a web page talk to your MIDI gear. It works in Chrome and Edge. Firefox and Safari do not support it. The page asks for your OK first.

MIDI for hardware synths
What you can do with MIDI

Why producers still use it every day.

Write in any DAW

A DAW is a music app like Ableton Live, FL Studio or Logic Pro. Drag in a MIDI file and it opens as notes on a piano roll. Then pick any sound for it.

Play hardware synths

Send the same notes to a real synth or drum machine. The gear makes the sound, so you hear its own tone, not a copy.

Turn it into sheet music

Notation apps like MuseScore can open a MIDI file and show it as written music. You will often need to tidy it up, but it is a fast start.

Fix and reshape

Move a wrong note, tighten the timing, change the key or slow it down. You never need to record it again.

Where MIDI Lab fits

Type an idea, get the MIDI.

MIDI Lab's AI writes music as MIDI, not audio. You describe a song in plain words. It writes drums, bass, chords and a lead, each part on its own track. Every note stays yours to change.

  1. 1Your words
  2. 2The AI writes the MIDI
  3. 3You edit the notes
  4. 4Stems, mix and .mid

Edit every note

Open the take in the piano roll editor. Move notes, change their length, and set velocity in the lane under the notes.

Hear it in the browser

MIDI Lab plays your MIDI through its own synth engine, Centrifuse, and its own drum kits. The sound is made from your notes, not by an AI audio model.

Take it anywhere

Download a standard .mid with each part on its own track. Or send it to your synths over Web MIDI. Stems, one audio file per part, come with the Maker plan and up.

Text to MIDI
FAQ

MIDI questions, answered

What does MIDI stand for?

MIDI stands for Musical Instrument Digital Interface. It is a standard from the early days of digital synths that lets music gear and software from any brand talk to each other.

Does a MIDI file have sound?

No. A MIDI file holds notes and timing, not audio. To hear it, you play it through an instrument, like a synth in your DAW, a hardware synth or a converter.

What is the difference between MIDI and audio?

Audio is a recording of sound, like a WAV or MP3. MIDI is the set of instructions that tells an instrument what to play. You can edit MIDI note by note and change its sound. Audio is fixed once it is recorded.

How many MIDI channels are there?

There are 16 channels on one MIDI connection. Each instrument can listen to its own channel. In General MIDI, drums use channel 10.

What is MIDI velocity?

Velocity is how hard a note is played. It is a number from one to 127. Low values play soft and high values play loud. Many sounds also get brighter as velocity goes up.

Can I turn a MIDI file into an MP3?

Yes. Play it through an instrument and record the result. MIDI Lab's free MIDI to MP3 converter does this in your browser. Pick a sound for each track and download the MP3, with no account needed.

Do I need a cable to use MIDI with my computer?

Most new keyboards and synths send MIDI over a normal USB cable. Older gear uses a round five pin MIDI cable, often through a small USB MIDI interface.

Can AI make MIDI?

Yes. MIDI Lab's AI writes music as MIDI from a sentence you type. You get drums, bass, chords and a lead on their own tracks. A free account comes with 50 credits, and a prompt costs 25 credits for one full song.

Now see MIDI in action.

Type an idea and get it back as notes you can play, edit and download.