Chapter 5

Piano roll

The piano roll shows the score the way recording programs do: time runs from left to right, pitch from bottom to top, and every note is a bar as long as it lasts. Use it to check rhythms, registers and overlaps at a glance, to fix notes by dragging them, and to decide how strongly each note plays back. Everything you do here changes the score, and you see it straight away when you go back to Page View.

Opening the piano roll

  • Choose View → Piano Roll (⌥⌘O, on Windows Ctrl+Alt+O), or the third button of the View group in the toolbar, next to Page and Scroll.
  • To go back to the score, choose View → Piano Roll again, Page View or Scroll View, press ⌘E (on Windows Ctrl+E), or choose Back to Score in the right-click menu.
  • On the iPad, choose Piano Roll in the … menu at the top (see On the iPad below).

The piano roll opens at the measure you were looking at (or at the chosen note’s measure); going back to the score you find the chosen note, or the measure you were looking at in the piano roll. In the piano roll the navigator is hidden, and so are the tool palette and the secondary palette: only the durations stay, which set how long new notes are.

By default the piano roll is dark or light, like the system appearance; the theme and other details can be changed in Appearance.

What you see

The piano roll: notes as bars next to the keyboard, colored by voice, with the velocity lane below.
  • On the left a piano keyboard that stays put while you scroll sideways: every C has its name (C4 is middle C). Clicking a key plays it with the instrument of the cursor’s staff.
  • At the top a ruler with the measure numbers and beat ticks, which stays put while you scroll up and down.
  • The key rows: darker ones for the black keys, a line under every C. Barlines are stronger than beats and half beats, and every other measure is slightly lighter.
  • The notes: a rounded bar in the instrument’s color (the one chosen in the mixer or, if you haven’t chosen one, a different one for each instrument), with the note name inside when there’s room. The louder the note, the brighter the bar. Ties are already joined: a note tied across the barline is a single bar.
  • The notes of the cursor’s staff are drawn on top of the others; those of the other instruments are slightly dimmed.
  • At the bottom, the velocity lane (see Note strength).

The measures are the written ones, one after another: repeats are not played out. Grace notes and cue notes don’t appear, because they take no time or don’t play.

During playback the green line moves over the notes, and the keys that are playing light up on the keyboard in the instrument’s color. Clicking the ruler starts playback from that measure (or jumps there, if it’s already playing).

Choosing notes

  • Click a note to choose it and hear it. You can also choose a single note of a chord.
  • Shift-click adds a note to the choice or removes it.
  • Drag in an empty area to draw a rectangle: the notes it touches are chosen (with Shift, added to those already chosen).
  • Click in an empty area to clear the choice, like Esc.
  • Double-click a note to go back to the score with that note selected.

The notes chosen in the piano roll are also selected in the score and in the inspector. If you select notes in the score and then open the piano roll, they are chosen there too.

Editing notes

  • Move: drag a chosen note (the other chosen notes follow it) up or down to change its pitch, left or right to change its attack. You hear the new pitch while you drag.
  • Copy: drag while holding ⌥ (on Windows Ctrl): the original notes stay where they are.
  • Lengthen or shorten: grab the note by its right edge (the pointer turns into two arrows) and drag.
  • Create: double-click in an empty area. The new note goes in the cursor’s staff and voice, starts in the grid cell you clicked and is as long as the duration chosen in the palette (a quarter note if you haven’t chosen one).
  • Delete: ⌫ or Del, or Delete Notes in the right-click menu.

With the keyboard, on the chosen notes:

Key What it does
↑ / ↓ A semitone up or down
⇧↑ / ⇧↓ An octave up or down
← / → One grid step earlier or later
⌫ / Del Deletes the notes
Esc Clears the choice

Every gesture is a single Undo step (⌘Z, on Windows Ctrl+Z).

The grid

When you move, lengthen or create notes, they snap to a grid that starts at every barline. Choose it in the right-click menu, Grid: quarter notes, eighths, 16ths (the default) or 32nds, or a tuplet: quarter-note, eighth-note or 16th-note triplets, or 16th-note quintuplets, sextuplets or septuplets. With Custom… you choose the note value and how many notes in the time of how many (for example 9 32nds in the time of 8). The lines of the chosen grid show in the piano roll, slightly lighter for tuplets, and new windows start from the last grid you chose.

With a tuplet the grid starts again at every group: 16th-note quintuplets at every quarter note, quarter-note triplets at every half note. Notes you place on the points of a group are written in the score as that tuplet (a quintuplet, a septuplet…), with the rests it needs inside the group; groups whose notes sit on the normal grid stay normal. Where a whole group no longer fits in the measure (the last beat of a 3/4 with quarter-note triplets) the grid of the note value applies. With a tuplet, double-clicking creates a note one grid step long, and ← → move by one step.

Quantize to Grid, in the right-click menu, moves notes that are already there onto the chosen grid: the chosen notes or, if you haven’t chosen any, those in the selected measures. Attacks go to the nearest grid point and so do the ends, with at least one step of duration; notes already in place don’t change. It’s handy after a recording or an imported MIDI file: with 16th-Note Quintuplets a loosely played group becomes a written quintuplet. It all undoes in a single step.

How it becomes notation

Every edit rewrites in notation only the measures it touches (widened if a tied note crosses the barline). Notes that stay where they were keep their spelling, articulations and lyrics; new ones are spelled in the measure’s key, and ties across barlines, rests and dotted values are worked out for you. A note that would end past the last measure is shortened. Grace notes stay too, in front of the note that starts at the same point (if you delete it they go with it), as do notes written on the neighboring staff, cue notes and tuplets (quintuplets, sextuplets, nested tuplets) whose rhythm the edit doesn’t change: you can change the pitches of a quintuplet.

A few things don’t survive the piano roll, and it’s worth knowing:

  • If you move a note of a tuplet in time, or add one inside it, the tuplet is rewritten on the grid: with that tuplet’s grid (for example 16th-Note Quintuplets) it stays a tuplet, with another one it goes back to the normal grid (triplets stay triplets). A note moved from the neighboring staff goes back to its own.
  • Two notes can’t overlap within one voice: if you lengthen a note up to the attack of the next one, it stops there. For two crossing parts use two voices.

Note strength (velocity)

The velocity lane, at the bottom of the piano roll and fixed while you scroll, has a stem for every note, at its attack: the taller it is, the louder the note (from 1 to 127; the lines mark 32, 64 and 96). A hollow dot means the strength comes from the written dynamics (p, mf, f, hairpins, accents); a filled dot means you set it.

  • Drag a stem up or down to change that note’s strength. If several notes are chosen, dragging one of their stems changes them all by the same amount.
  • Drag in an empty area of the lane to draw: the notes you cross take the strength of the mouse height. It’s the quickest way to shape a crescendo or lighten an accompaniment.
  • Double-click a stem, or choose Velocity from Dynamics in the right-click menu on the chosen notes: the note follows the dynamics again.
  • Piano Roll Appearance → Show → Velocity Lane, in the right-click menu, hides or shows the lane.

MIDI controllers

Instead of velocity, the bottom lane can show the values of a MIDI controller (control change) of the cursor’s instrument: modulation, expression, sustain pedal, volume, pan… Choose the controller in the right-click menu, Bottom Lane: it lists the most common ones (modulation CC 1, breath CC 2, volume CC 7, pan CC 10, expression CC 11, sustain pedal CC 64, sostenuto pedal CC 66, soft pedal CC 67, brightness CC 74), the ones the instrument already uses (marked with a dot), and Other Controller… for any number from 0 to 127. Velocity goes back to note strength, Hide Lane removes the lane.

The values are a stepped line in the instrument’s color: each value holds until the next one. On the left are the controller’s number and name, at the top the instrument’s name; to see another instrument’s values, put the cursor on one of its notes.

  • Click in an empty area of the lane: a value on the nearest grid point, at the mouse height (from 0 at the bottom to 127 at the top).
  • Drag in an empty area: you draw values, one for each grid point you cross; the ones that were in that stretch are replaced.
  • Shift-drag: a straight line from the starting point, handy for an expression crescendo or for raising the modulation. It follows the shape chosen in the right-click menu under Line Shape: Straight Line, Curve Starting Slowly, Curve Starting Quickly or S-Curve.
  • Click a dot to choose it (it gets bigger, with a ring). Shift-click or ⌘-click (on Windows Ctrl-click) adds or removes one; ⌘-drag in an empty area (on Windows Ctrl-drag) chooses the points with a rectangle.
  • Drag a dot: up or down changes the value of all the chosen points by the same amount, sideways moves them along the grid; while you drag, the value is written next to the mouse. Double-click a dot to remove it.
  • On the chosen points, ↑ and ↓ change the value by 1 (by 10 with Shift), ← and → move them by one grid step, Delete or ⌫ removes them, Esc clears the selection.
  • ⌥-drag (on Windows Alt-drag): the eraser removes the values you cross.
  • Right-click the lane: Ramp Between Chosen Points replaces the values between each chosen point and the next with the chosen shape, on the grid points (the points stay chosen, so you can try another shape); Scale Chosen Points… multiplies them by a percentage (50 for half, 120 a little stronger); then Remove Chosen Points, Select All Points, Remove … from the Selected Measures and Remove … from the Whole Instrument.

Each gesture is a single Undo step. The values apply to the whole instrument (both hands of the piano together) and you hear them in playback, also when starting halfway through (the previous value is sent right away), and in exported MIDI files. A written controller replaces the one Maestro works out by itself: if you draw the sustain pedal, the pedal marks in the score are no longer heard; if you draw expression, the one calculated from the dynamics isn’t heard. With the built-in sounds you hear volume, pan, expression, sustain pedal and modulation (a vibrato, up to a quarter tone up and down with the wheel all the way up); the other controllers go to plug-ins, SFZ libraries and external MIDI instruments, which use them in their own way. When you open a MIDI file, the tracks’ controllers come back on the instruments (volume and pan only if they change during the piece: otherwise they are the mixer’s).

Until you write any values, the lane shows in a light line the values playback works out by itself for that controller: the sustain pedal from the pedal marks, expression from dynamics and hairpins (with expressive playback, on instruments that sustain), and a plug-in’s dynamics controller and articulation commands. For winds, strings and voices played by the sound bank there are also breathing (in expression), vibrato (modulation, controller 1) and the darker tone when soft (brightness, controller 74). In repeats the first pass counts. Right-click the lane and choose Make the Calculated Values Editable to turn them into written values you can touch up; as soon as you write even one value, the calculated ones are no longer used.

Copy, Cut, Paste and Delete carry the controllers with the measures of the instrument’s first staff (on the piano, the right hand’s), like pedals; pasted on another staff of the same instrument, they move to the first one. In Paste with Filter, Delete with Filter and the selection filter they are the MIDI controllers (piano roll) item: for example, you can copy just the expression curve of one passage onto another.

Pitch bend and program change

Bottom Lane also offers Pitch Bend and Program Change, with the same gestures as the controllers.

Pitch bend goes from −12 to +12 semitones, with 0 (the note in tune) in the middle: near the center the mouse snaps to 0, while you drag the semitones are written next to the point, and on the chosen points ↑ and ↓ change it by 10 cents (by a semitone with Shift). Written pitch bend replaces the one Maestro sends by itself for glissandos and quarter tones, which you see in light colors while the lane is empty.

Program change chooses the General MIDI sound of the instrument from that point on. The name of the sound is next to each point; in the right-click menu, Sound of the Chosen Points… chooses it from the list. In light colors you see the sound of the instrument and those of the instrument changes. With the built-in sounds each sound has its own track, as with instrument changes; a plug-in or an external MIDI instrument receives it as a program change.

Opening a MIDI or Finale file also brings in pitch bend and the program changes after the first one. Pitch bend is converted to ±12 semitones: in MIDI files that don’t state their range and in Finale it is ±2, and exporting to .musx brings it back to ±2 (anything beyond stops there).

Notes as played

On top of the written notes, the piano roll also shows how playback actually plays them, where it differs: thin strips in the lower part of the row, in the instrument’s color. That way you can see staccato (a shorter strip inside the bar), trills, mordents and tremolos (many short strips on the neighboring rows), grace notes (a short strip before the note), arpeggios (the notes coming in one after the other), swing and the playback style chosen for the score. Where a note plays as written there’s no strip.

You can also drag a strip to change how that note sounds without touching the score, like Sibelius’s Live Playback: drag its body to move the start earlier or later than written (up to half a second), drag its right edge to change the length (10% to 200%). While you drag you see where the strip will go, and each gesture is one Undo step. The same values, Playback start in milliseconds and Playback length as a percent, are in the Inspector among the note’s marks, with Play as written to clear them: there you can also set them for a note that plays as written and so has no strip yet. They apply to playback, exported audio and the MIDI file that plays like playback. Piano Roll Appearance → Show → Notes as Played, in the right-click menu, hides or shows them.

Drums

When the piano roll shows only percussion instruments (for example if you choose the drum part in View → Parts or in the Score and Parts menu in the toolbar, or if the score has only percussion), it becomes a drum editor: instead of the keyboard there is one row for each sound of the instrument (bass drum, snare, closed hi-hat…), with the bass drum at the bottom, as on the staff.

  • Clicking a row’s name plays the sound.
  • Dragging a note up or down, or ↑ and ↓, moves it to the sound of the next row.
  • Everything else works as for the other instruments: double-click to create a hit, the grid, the velocity lane for accents and ghost notes.

When the drums are shown together with other instruments the piano roll stays the normal one, but their notes carry the name of the sound instead of the note name.

Zoom

The window zoom (⌘+, ⌘-, ⌘0) enlarges everything together. In the piano roll you can also zoom time and pitch each on its own, to see many measures without the key rows getting thin:

Mac Windows
Time zoom ⌥+scroll wheel, or ⌥ and pinch on the trackpad Alt+scroll wheel
Pitch zoom ⌥⇧+scroll wheel Ctrl+Alt+scroll wheel

The point under the mouse stays put; the keyboard, ruler and velocity lane don’t change. In the right-click menu, Time Zoom and Pitch Zoom also have Zoom In, Zoom Out, Actual Size and Fit Whole Piece to Width (or Fit All Keys to Height), which fits the piano roll to the window. Each window remembers its zoom, and new ones start from the last one chosen.

On the iPad

In the iPad editor the piano roll opens from the … menu at the top → Piano Roll (⌥⌘O with a keyboard attached) and closes the same way, or with Back to Score in the menu that appears when you hold your finger down. Your finger does what the mouse does: a tap chooses a note, dragging moves it (or lengthens it from the right edge), a double tap in an empty area creates a note, holding down opens the right-click menu. Scroll with two fingers; pinching with your fingers side by side widens time, one above the other the pitch. If the keys don’t fill the screen, the height adjusts by itself when you enter.

Instead of the durations, at the bottom there is a bar for what the held-down keys do on the Mac:

  • Lane: what your finger does when it starts in an empty spot of the bottom lane. Draw writes values where it passes, Straight Line draws a straight line from the starting point (like Shift), Eraser removes the values it crosses (like ⌥), Choose chooses the points with a rectangle (like ⌘).
  • Add: taps on notes and on lane points add them to the selection or remove them, like Shift-click.
  • Copy by Dragging: dragging notes makes a copy, like ⌥-drag.

With a keyboard attached the keys work as on the Mac.

Appearance

Like the mixer, the piano roll can be customized with right-click → Piano Roll Appearance. The choice applies to every score and window, and is remembered next time.

  • Theme: Match System (the default), Dark or Light.
  • Note Colors: By Instrument (the default: the color chosen in the mixer, or a different one for each instrument), By Velocity (from blue for soft notes to red for loud ones, handy for checking dynamics and accents), By Voice (blue, red, green and purple for voices 1 to 4) or Single Color.
  • Key Names: Only C (the default), All White Keys or None.
  • Show: note names inside the bars, notes as played, the velocity lane, beat subdivisions in the grid and alternate measure shading. Unchecking an item hides it.
  • Default Appearance goes back to the original choices.