Documentation · The document
one text The document
A project is one text. Every line is an expression, a rule or a command, and they run from the top down.
- A line containing
::=defines a rule. A line that starts with a command word (bpm,key,meterand so on) is a command. Any other line is an expression, and it plays. - Expressions play one after another, in the order they are written.
- An indented line continues the line above it.
- Blank lines are spacing. Use as many as you like.
- A document with no expression line plays the LAST rule it defines.
- There is no
playkeyword.
Three expressions play in order. A command between them applies from that point on.
c4 d4 e4 g4 c4 d4 e4 g4 c4 d4 e4 g4
An indented line belongs to the expression above it, so this is two expressions, not three.
c4 d4 e4 f4 g4 a4
No expression at all: the document plays B, the last rule it defines.
e4 f4