rally

Making music

MIDI and piano roll

Make MIDI clips, write and edit notes in the piano roll, play instruments from the keyboard or a controller, and import MIDI files.

Reflects Rally v0.112.0

A MIDI clip holds notes. Its instrument, on a MIDI track, plays them. You write notes in the piano roll, which opens in the bottom dock.

#MIDI clips and tracks

  • + MIDI clip is in More arrangement actions. It adds an empty MIDI clip at the edit cursor on the selected MIDI track.
  • Select a MIDI clip and press Enter to open it in the piano roll. You can also select the Piano roll button in the toolbar.
  • A MIDI track holds an instrument. Pick one from the track's Source or Instrument summary.

An empty MIDI clip is silent, so add notes before you expect to hear it.

#Draw and select notes

The piano roll's toolbar has two tools:

  • Select (press V): click a note to select it. Hold Shift to add more. Drag a box to select several. Click empty grid to set the edit cursor.
  • Draw (press B): click the grid to add a note. Double-click empty grid in Select to add one too.

Notes snap to a sixteenth. Hold Alt to place a note freely. Drag a note to move it, and drag its end to change its length.

Press Enter to add a note while the note grid has focus. Use AltUp and AltDown to step the selection between notes.

To delete selected notes, press Delete.

#Note properties

With notes selected, the Selection panel shows and sets their values by typing:

FieldWhat you can type
PitchA note name such as C4 or F#3, or a number from 0 to 127
StartA position in the clip
LengthA value such as 1/16, 2 (sixteenths), or 0.1.0
Velocity1 to 127, or a change such as +10 or -15 for every note

Rally refuses a value it cannot use and says why. It does not clamp it silently. Each typed change is one step to undo.

#Velocity

The velocity lane shows how hard each note is played, as bars under the grid. To change velocity, type it in the Velocity field, or press Cmd/CtrlUp and Cmd/CtrlDown to step the selected notes up or down. Each press moves by 8, and a held key is one Undo.

On a touch screen, the Velocity button shows or hides the velocity bars.

#Quantize

Press Cmd/CtrlU, or select Quantize 1/16, to snap the selected notes' starts to the sixteenth grid.

#Split and join notes

  • Split: press CmdE on a Mac or CtrlE on Windows. A note is cut at the edit cursor if the cursor is inside it. Otherwise it is cut at each sixteenth line. One Undo restores it.
  • Join: press Cmd/CtrlJ. Notes of the same pitch that touch end to start become one note.

#Copy and paste notes

Press Cmd/CtrlC, Cmd/CtrlX and Cmd/CtrlV in the piano roll to copy, cut and paste notes. Note copies are kept separately from copied clips.

Press Cmd/CtrlA to select every note, and AltA (Option+A on a Mac) to invert the selection.

#Play notes from the computer keyboard

Turn on Keys from the More menu, or press M. Then the letter keys play notes on the active MIDI track:

  • A W S E D F T G Y H U J K O L P ; play the notes of one octave.
  • Z and X move the octave down and up.

While Keys is on, letter shortcuts such as Select and Draw do not work. Press M again, or select Keys again, to turn it off. Pressing Esc releases held notes, and so does Silence.

#MIDI controllers

If your browser supports Web MIDI, Rally listens to a connected MIDI keyboard. The transport bar shows the state in words: MIDI: connecting, MIDI: access denied, MIDI: disconnected, or the name of your device. A browser without Web MIDI shows MIDI unsupported. In that case, use the computer keyboard or the on-screen piano roll.

#Import a MIDI file

Import a .mid or .midi file from the Sounds rail, or drop it on a MIDI row. Rally opens an import preview first. It lists the parts, the instruments, the start bar, the tempo and meter, and any repaired or dropped events.

Select Import to bring the file in. The import is unavailable until the file has been read. Viewers can open the preview, but not import. Files are limited to 1 MiB. See Importing audio.

#Touch

On a touch screen, the piano roll has Multi, Velocity and Delete buttons. Multi lets you tap notes to add or remove them from the selection. Below 700 pixels the piano roll has a Notes tab and an Inspector tab. Use a computer with a keyboard for detailed note editing.

#Tempo

The notes play at the project tempo. See Tempo and grid.

#Recording a MIDI take

Press F9 or the Record button to record a MIDI take. A count-in of one bar comes first. Press F9 again to stop. On some Mac keyboards, F9 controls media, so hold Fn with it.