# notes
C to B = from bass clef C to B below middle C
c to b = from middle c to the middle of treble clef
# octaves
CC to BB = each additional repeated note lowers the octave by 1 (limit 3)
c' to b' = each additional repeated ' raises the octave by 1 (limit 5)
# rests
r = rest
# chords
<a b c> = can contain an arbitrary amount of notes
# accidentals - valid on notes
- = flat (limit 2 per note)
# = sharp (limit 2 per note)
n = natural (limit 1 per note)
# durations - valid after chord, rest and note
[0-9]+ = integer duration value
. = you can add a dot with or without an integer duration
# ties - valid on notes and chords
~ = ties to the next note
# tuplets
dup{a b} = can contain any 2 notes
trip{a b c} = can contain any 3 notes