Alda Cheat Sheet
Alda writes multi-part scores as plain text you can play from the terminal. Declare an instrument, then write notes, octaves, durations and attributes.
Instruments & notes
piano:Declare (or switch to) an instrumentc d e f g a bNote nameso4Set the octave to 4> <Octave up / downc+ c-C sharp / C flatDurations & rhythm
c4 d8 e2Quarter, eighth, half notesc4.Dotted notec1~1Tie across two whole notesr4A quarter restChords & voices
c/e/gA chord (notes joined with /)V1: … V2: …Independent voices@markerJump to a named markerAttributes
(tempo! 140)Set the tempo (global with !)(vol 80)Volume 0–100(quant 90)Note length as a % (articulation)(pan 25)Stereo pan 0–100Repeats
[c d e]*4Repeat the bracketed notes four timesc d e | f g aBar lines (optional, for readability)Alda — Text-based music composition language. · Alda in the tool directory →