Slurs, keys & annotations

Slurs, key-change markers and transition notes, and musical-term annotations.

Last updated · June 15, 2026

Slurs

Wrap a range of beats in slashes to draw a slur underline beneath them: /d r m/. The pair must enclose note, rest, or extension content. Prefer the semicolon form for key changes (below) so slur slashes don’t collide with key-change markers.

A slurred phrase
S: /d r m/ : f

Key-change annotations

A token matching Key followed by a letter (with optional accidental and minor marker) prints a key label above the following beat — KeyC#, KeyBb, KeyGm render as “Key: C♯”, “Key: B♭”, “Key: G minor”. Notes after it render normally.

Mark a modulation
S: d r m f KeyBb d r m f

Key-change transition notes

To show a pivot at a modulation, write a single beat cell as old;new. The outgoing-key syllable is printed small and italic as a superscript just before the main note, and the incoming syllable renders at normal size. (The legacy old//new form is still accepted, but ; is preferred because // interacted badly with slur markers.)

Pivot from soh to me
S: d r m f s;m r d

Musical terms

Text inside curly braces is a musical-term annotation, rendered above the beat of the note that follows it. Use it for tempo and expression marks.

Tempo and dynamics
S: {Andante} d r m {Crescendo} f s l {Fine} t