Documentation · Pitch

c4 f#3 eb5 m60 Literal notes

A pitch named outright: a lowercase letter, an optional accidental, an octave number. c4 is middle C.

  • Accidentals are # and b, doubled for double sharps and flats.
  • Literal notes ignore the key and the mode.
  • m<n> names a MIDI note number: m60 is c4.

Letters and octaves.

running…edit it and it re-runs as you type

c4 e4 g4 c5 g3 c3

Accidentals, including doubles.

running…edit it and it re-runs as you type

f#3 a#3 d4 f4

MIDI numbers.

running…edit it and it re-runs as you type

c4 d4 e4 f4 g4