Notes

L:1/4 A,,,,B,,,, | C,,,D,,,E,,,F,,,G,,,A,,,B,,,| C,,D,,E,,F,,G,,A,,B,,| C,D,E,F,G,A,B, | CDEFGAB | cdefgab | c'd'e'f'g'a'b' | c''d''e''f''g''a''b'' | c''' |]

Notes + accidents

L:1/4 "Cbb"__C "Cb"_C "C"=C "C#"^C "Cx"^^C | "Dbb"__D "Db"_D "D"=D "D#"^D "Dx"^^D | "Ebb"__E "Eb"_E "E"=E "E#"^E "Ex"^^E | "Fbb"__F "Fb"_F "F"=F "F#"^F "Fx"^^F | "Gbb"__G "Gb"_G "G"=G "G#"^G "Gx"^^G | "Abb"__A "Ab"_A "A"=A "A#"^A "Ax"^^A | "Bbb"__B "Bb"_B "B"=B "B#"^B "Bx"^^B |]

Enharmony (notes with same sound)

L:1/4 ^B, C =C __D | ^^B, ^C _D | ^^C D =D __E | ^D _E __F | ^^D E =E _F | ^E F =F __G | ^^E ^F _G | ^^F G =G __A | ^G _A | ^^G A =A __B | ^A _B __c | ^^A B =B _c |]

Notes + rests

Q:1/1=40 L:1/4 C z/ D/ z F | G z2 c |]

%%flatbeams bool

Draw flat beams.

M:2/4 L:1/8 CDEF | GABc |

M:2/4 L:1/8 %%flatbeams 1 CDEF | GABc |

%%shiftunison int

Set the way the note heads are displayed in case of voice unison.
int in:

Default value is 0.

L:1/4 %%score (1 2) V:1 c3/c/ c2 | c | V:2 c/G3/c/G/G | c | V:1 %%shiftunison 1 c3/c/ c2 | c | V:2 c/G3/c/G/G | c | V:1 %%shiftunison 2 c3/c/ c2 | c | V:2 c/G3/c/G/G | c | V:1 %%shiftunison 3 c3/c/ c2 | c | V:2 c/G3/c/G/G | c |

%%bstemdown bool

When set, the stem of the note in the middle of the staff goes downwards.
Otherwise, it goes upwards or downwards according to either the previous or following note.

M:3/4 L:1/4 cBc | ABA |

M:3/4 L:1/4 %%bstemdown 1 cBc | A!red!BA |

%%stemheight float

Set the stem height.

L:1/4 K:C edcB |

L:1/4 K:C %%stemheight 26 edcB |

L:1/4 K:C %%stemheight 0 edcB |

%%ottava int

Start / stop ottava sequences.
int may be 1 for ottava alta, -1 for ottava bassa and 0 to stop the ottava sequence.
This command may be replaced by the decorations !8va(! .. !8va)! and !8vb(! .. !8vb)!

L:1/4 CEGc|[I:ottava +1]cegc'[I:ottava 0]| cGEC|[I:ottava -1]CG,E,C,[I:ottava 0]|

L:1/4 CEGc | !8va(! cegc' !8va)! | cGEC | !8vb(! CG,E,C, !8vb)! |

%%slurheight float

Set the slur height factor. Default value is 1.0.

L:1/4 (cccc) |

L:1/4 %%slurheight 2 (cccc) |

%%squarebreve bool

Display the breve notes in square format.
Note: the ending breve notes are always square.
Default value is false.

L:1/2 c4 | c2c2 | c4 | c4 |

L:1/2 %%squarebreve 1 c4 | c2c2 | c4 | c4 |

%%straightflags bool

Have straight flags on the stems for bagpipe tunes.

L:1/8 K:HP G c e g |

L:1/8 K:HP %%straightflags 1 G c e g |

%%sth list

This command permits to change the height of the stems.
list is a list of heights expressed in pixels (see unit in types).
Each height is applied to each following notes that have a stem and are not under a beam.

The special value * (star) skips such a note, letting its stem unchanged.
The special value | (bar) skips to the next measure bar.
The characters - (dash) and ; (semicolumn) are ignored.
This command is used to fix some bad rendering cases, especially when there are more than 2 voices per staff. Set the stem height.

L:1/16 K:Dminor treble-8 %%staves (1 2 3) V:1 aagf eedc d4| V:2 [I:stemdir down]fB^c2 B2A2 F4| V:3 D4|A,4 D4| V:1 aagf eedc d4| V:2 %%sth 22 20 18 18 [I:stemdir down]fB^c2 B2A2 F4| V:3 D4|A,4 D4|

L:1/8 K:E treble-8 %%staves (1 2) V:1 e>>d [L:1/16]d{/e}(d/c/)de f4 & [I:stemdir up]EGEG E[I:stemdir down]A FA F4| V:2 C2 A,2 B,2| V:1 [L:1/8]e>>d [L:1/16]d{/e}(d/c/)de f4 & [I:stemdir up]EGEG \ [I:sth 16 8]E[I:stemdir down]A FA F4| V:2 C2 A,2 B,2|