theory

MIDI basics

What a MIDI note carries (pitch, velocity, length, channel), how Live names notes, what a .mid file holds, and how drums map to a Drum Rack.

MIDI is instructions, not sound

A MIDI clip holds no audio. It is a list of instructions: play this note, this hard, for this long, on this channel. The sound comes from whatever instrument the clip plays into, so the same 1/16 pattern can be a piano, a Drum Rack or a 303 depending on the track you paste it on [1][4]. Effects, samples and mixing never travel in a MIDI file.

What one note carries

Every note is a note on and a note off message, and between them they carry four things [1][4]:

  • Pitch: a note number from 0 to 127. Note 60 is middle C.
  • Velocity: how hard the note is played, 1 to 127. Most instruments map it to volume, many also to brightness or to a different sample layer. A note on with velocity 0 counts as a note off [1].
  • Length: the time between note on and note off. In a clip it is the length of the bar you see in the piano roll.
  • Channel: one of 16 (shown as 1 to 16, stored as 0 to 15) [1]. Inside Live it rarely matters, except for drums in General MIDI files, which live on channel 10.

The pitch and the timing are what make a pattern; velocity and length are what make it feel played. Two clips with the same notes and different velocities groove completely differently, which is why every 1/16 pattern has velocity written into it.

Note names: why Live says C3

The MIDI standard only fixes the number: note 60 is middle C. The octave number is a convention, and software disagrees [2][3]:

MIDI note Live Many other DAWs
36 C1 C2
60 C3 C4

So when a tutorial says "the kick is on C2" and Live shows C1, they are usually the same note, 36. Trust the number, not the name.

Drums: the General MIDI map

General MIDI fixed which drum sound sits on which note, so any GM file plays the right drums on any GM kit. The kick is 36, the snare 38, the clap 39, the closed hat 42, the open hat 46 [5]. Live's Drum Rack starts its first pad at C1, which is 36, so a GM drum clip pasted onto a default rack lands kick on the kick pad.

1/16 drum patterns use these numbers. A kick pattern is just notes on 36:

A full groove puts the kick, clap, hats and percussion on their GM notes in one clip, which pastes as one Drum Rack track:
If your rack is laid out differently, either move the pads or drag the notes in the clip; the rhythm and velocities stay the same.

What a .mid file holds

A Standard MIDI File has a header and one or more tracks [6]. The header sets the resolution: how many ticks make a quarter note (PPQ). 1/16 files use 480 ticks per quarter, enough to place a note a few milliseconds early or late for feel. Tempo is stored as microseconds per quarter note in the first track [6].

Type 1 files keep each instrument on its own track. 1/16 exports drums as one track and every melodic part (bass, chords, lead) as its own track, so dragging a file into Live gives you one clip per instrument.

In Ableton

  • Dragging a .mid file onto a MIDI track creates a clip; dropping it on empty space creates tracks for each part.
  • The 1/16 device pastes straight from the site into the selected clip slot, or a whole scene into Session or Arrangement.
  • In the clip view, the velocity lane under the piano roll shows the velocities; select notes and drag there to change them.

Sources

  1. SparkFun, "MIDI Tutorial: Messages". https://learn.sparkfun.com/tutorials/midi-tutorial/messages
  2. MIDI Association, "MIDI octave and note numbering standard". https://midi.org/community/midi-specifications/midi-octave-and-note-numbering-standard
  3. Sound On Sound, "Making Notes". https://www.soundonsound.com/techniques/making-notes-0
  4. Mido documentation, "About MIDI". https://mido.readthedocs.io/en/latest/about_midi.html
  5. Wikipedia, "General MIDI" (percussion key map). https://en.wikipedia.org/wiki/General_MIDI
  6. McGill University, "Standard MIDI File Format". https://www.music.mcgill.ca/~ich/classes/mumt306/StandardMIDIfileformat.html