Documentation · Naming
Name \i x Overrides
State a rule with one item replaced. The index is ZERO-BASED and counts what the reference PLAYS.
- Brace the replacement if it carries marks of its own: `\3 {5/2}`.
- Marks after the replacement cover the whole expansion, replacement included.
The same rule, one note changed each time.
bpm 90
meter 4
unit 1/4
key c4 maj
mode diatonic
Row ::= 1 2 3 4
Row
Row \0 5
Row \3 '1
running…edit it — it re-runs as you type
plays 12 notes in 2.00s — c4 d4 e4 f4 g4 d4 e4 f4 c4 d4 e4 c5
A replacement carrying its own duration has to be braced.
bpm 90
meter 4
unit 1/4
key c4 maj
mode diatonic
Row ::= 1 2 3 4
Row
Row \2 {5 _2}
running…edit it — it re-runs as you type
plays 8 notes in 1.50s — c4 d4 e4 f4 c4 d4 g4 f4