Reading · Piano roll

How to Read a Piano Roll: Piano Roll vs Sheet Music

A piano roll draws every note as a block: which key, when, and for how long. It is quick to learn and easy to follow. Here is how to read one, what it leaves out, and how to move from it to notation.

If you have opened a MIDI file in music software or watched a video of coloured bars falling onto a keyboard, you have already seen a piano roll. It is the most literal way to draw music: one lane per key, one block per note, time running in one direction. You can learn to read it in a few minutes, and it is worth knowing what it does well and where sheet music still does more.

What a piano roll is

The name comes from player pianos. From the end of the nineteenth century, these instruments played music from a roll of punched paper. As the roll moved past a reading bar, each slot let air through to sound one key: where the slot sat across the paper set the pitch, and how long it was set the duration. Some composers recorded their own playing this way; Debussy, for example, made rolls of his piano music for the Welte company in 1913.

Music software kept the idea. Every digital audio workstation (DAW) has a piano roll editor for MIDI: Logic and FL Studio call it the Piano Roll, Ableton Live shows it in its MIDI note editor, Cubase calls it the Key Editor. Falling-notes videos are the same picture turned on its side, with the keyboard at the bottom and the notes dropping onto it.

The two axes: time and pitch

A piano roll has a keyboard along one edge. Each lane that runs away from a key belongs to that key, so a block in the lane next to middle C is a middle C. Higher lanes are higher notes. Black-key lanes are usually shaded darker so you can find your place, just as the black keys help you find your place on a real keyboard.

Time runs along the other axis. In a DAW it goes from left to right, and a moving line, the playhead, shows where you are. In a falling-notes view it runs from top to bottom, and a note sounds when its lower edge reaches the keyboard. Thin grid lines mark the beats and thicker ones mark the start of each bar (the American term is measure).

Right handLeft handFainter block = softer note (lower velocity)
A two-bar phrase as a piano roll. Time runs left to right, one beat per grid column; each lane is one key, with C3 and middle C (C4) labelled.

Note length and velocity

The length of a block is how long the key is held. In the example, the first four melody notes are one beat each and the last one is two beats, so its block is twice as long. In the left hand, the first two notes last two beats and the final pair lasts the whole bar. Nothing has to be decoded: long block, long note.

Velocity is how hard the key was struck, stored in MIDI as a number from 1 to 127. DAWs show it as the block’s colour or brightness, as a separate lane of bars under the roll, or both. In the example the stronger notes are darker. Falling-notes videos sometimes use brightness the same way, but many ignore velocity and use colour for the hands instead.

Reading chords and hands

Blocks that start at the same moment are played together, so a chord looks like a short vertical stack. Read it from the lowest lane up, as you would read a chord on a staff. The last bar of the example has the left hand playing C and G together, a fifth apart, under the melody.

A piano roll does not know which hand plays what. Falling-notes videos usually colour the hands differently, and some DAWs let you colour notes by channel or by track. If the notes come from a single MIDI recording, though, everything may arrive in one colour, and you split the hands yourself: roughly, lower notes for the left and higher for the right, adjusted wherever the parts cross.

The same notes in sheet music

Here is the phrase from the illustration written on the grand staff. Play it and follow the notes, then look back at the roll.

Example: the piano roll phrase in notation

Rendering notation…

Right hand E, D, C, D, E, E, E (the last a half note) over a left hand of C and G, then C and G together for a whole bar. Exactly the notes in the piano roll above.

Notice what changed. The roll needed twenty-five lanes to show these notes; the staff fits them on ten lines. The rhythm that the roll showed as lengths is now note shapes, and the two hands are separated by the staves rather than by colour.

What a piano roll cannot show

A piano roll stores which key, when, how long and how hard. Sheet music carries a lot more, and some of it matters for playing:

  • Key. There is no key signature, so you cannot see at a glance that a piece is in E flat major or that a D is a leading note.
  • Metre and rhythm as values. A grid can show beats if the tempo was set, but a live recording rarely lines up with it. A note lasting 0.48 seconds is not labelled “an eighth note”.
  • Enharmonic spelling. F sharp and G flat are the same key, so they share a lane. Notation tells you which one the harmony means.
  • Voices. A melody and the accompaniment under it in the same hand look like one cloud of blocks. Notation separates them with stem directions.
  • Fingering, dynamics and phrasing. Finger numbers, “p” and “f”, crescendos, slurs and staccato dots have no place in a roll. Velocity records the result of a dynamic, not the instruction.
  • Structure. Repeat signs, first and second endings and section labels do not exist. A roll is always written out in full, start to finish.

Piano roll vs sheet music for learning

A piano roll is good at the things beginners struggle with on paper. Note lengths are visible rather than coded, the keyboard is drawn for you, and a falling-notes view tells you what to press and when without any reading at all. It is also the natural view for your own recordings, because it shows exactly what you played, including the uneven bits.

Sheet music is better when the music gets longer or faster. A page of notation holds many bars that you can read ahead of where you are playing, while a falling-notes view only shows the next few seconds. Notation also tells you why the notes are there (the key, the chords, the phrases) and gives you something to share with a teacher or another musician.

Moving from piano roll to notation

You do not have to choose. The quickest way to learn to read notation is to see it next to something you already understand. A few habits help:

  • Match the lanes to the staff. A block one lane up is a note one step up; on the staff that is the next line or space.
  • Match lengths to shapes. Count how many grid beats a block lasts, then find the note value for that many beats: four is a whole note, two a half, one a quarter.
  • Read chords the same way. A stack in the roll is a stack on the staff, lowest note first.
  • Use your own playing. Record a short passage, look at it as a roll and as notation, and compare the two bar by bar.

For that last step, Ivory can turn a recording of your own playing into a score and show it as falling notes alongside the score, so you can watch the same bars both ways. When you are ready to read the staff on its own, our guide to reading piano sheet music starts from the grand staff and both clefs.

Common questions

Is a piano roll easier to read than sheet music?

At first, yes. A piano roll shows which key to press and for how long as a bar of colour, so there are no clefs, note values or key signatures to learn. Sheet music takes longer to learn but carries much more information in less space, which matters once pieces get longer or faster.

Can you learn piano from a piano roll alone?

You can learn to play short pieces that way, and many people start like this. The limits show up later: a piano roll has no fingering, key, metre or phrasing marks, and you cannot read ahead easily. Most players who start with piano rolls find it worth learning notation alongside them.

What do the colours in a piano roll mean?

There is no fixed standard. In a DAW, colour or brightness usually shows velocity, how hard the note was played. In falling-notes videos, colour usually separates the hands, often one colour for the right hand and another for the left, and sometimes marks black and white keys.

How do you turn a piano roll into sheet music?

Export the notes as a MIDI file and open it in notation software such as MuseScore or Sibelius. Quantise the rhythm first if it was played live, then check the time signature, the split between the hands and the spelling of sharps and flats, which the software has to guess.

Why is it called a piano roll?

The name comes from the paper rolls used by player pianos in the early twentieth century. Each note was a punched slot in a moving roll of paper: its position across the roll set the pitch and its length set the duration. Music software kept the same layout and the name.