Keys
clef=none
K:C clef=none
C | c | c' |
clef=treble
K:G clef=treble
C | c | c' |
clef=treble+8
K:D clef=treble+8
C | c | c' |
clef=treble^8
K:A clef=treble^8
c | c' | c'' |
clef=treble-8
K:E clef=treble-8
C | c | c' |
clef=treble_8
K:B clef=treble_8
C, | C | c |
clef=bass / clef=bass4
K:F# clef=bass
C,, | C, | C |
clef=bass+8
K:C# clef=bass+8
C,, | C, | C |
clef=bass^8
K:Cb clef=bass^8
C, | C | c |
clef=bass-8
K:Gb clef=bass-8
C,, | C, | C |
clef=bass_8
K:Db clef=bass_8
C,,, | C,, | C, |
clef=bass2
K:Ab clef=bass2
C, | C | c |
clef=bass3
K:Eb clef=bass3
C,, | C, | C |
clef=alto1
K:Bb clef=alto1
C | c | c' |
clef=alto2
K:F clef=alto2
C, | C | c |
clef=alto / clef=alto3
K:Am clef=alto
C, | C | c |
clef=alto4
K:Em clef=alto4
C, | C | c |
clef=perc
K:C clef=perc
C | c | c' |
Define the default starting clefs.
When set, the clefs are initialized to auto. Otherwise, the starting clefs are treble clefs.
autoclef is set by default to true.
L:1/4
cGEC | E,G,Cc |
L:1/4
%%autoclef 0
K:C
cGEC | E,G,Cc |
When set, the accidentals associated with the last key signature are cancelled by naturals.
cancelkey is set by default to true.
M:2/4
L:1/4
K:A
AB |[K:G] cd |
M:2/4
L:1/4
K:A
%%cancelkey 0
AB |[K:G] cd |
Add a cautionary key signature at end of line
When set, if a key signature change occurs at the beginning of a music line, a cautionary key signature is added at the end of the previous line.
keywarn is set by default to true.
M:C
L:1/4
K:G
GGGG | GGGG |
K:F
FFFF |
M:C
L:1/4
K:G
%%keywarn 0
GGGG | GGGG |
K:F
FFFF |
%%singleline 1
%%clef treble
"treble "C c c' x |
%%clef alto
"alto"C, C c x |
%%clef tenor
"tenor"C, C c x |
%%clef bass
"bass "C,, C, C |
%%singleline 1
%%clef G2
"G2 "C c c' x |
%%clef C3
"C3"C, C c x |
%%clef C4
"C4"C, C c x |
%%clef F4
"F4 "C,, C, C |
%%singleline 1
%%clef G
"G"C c c' x |
%%clef C
"C"C, C c x |
%%clef F
"F"C,, C, C x |
%%clef none
"none"C c c' |
%%singleline 1
%%clef perc
"perc "C c c' |
%%clef P
"P"C c c' |
%%clef P2
"P2"C c c' |
%%clef auto
"auto"C,, C, C |
Add a cautionary time signature at end of line.
When set, if a time signature change occurs at the beginning of a music line, a cautionary time signature is added at the end of the previous line.
M:C
L:1/4
cccc | cccc |
M:4/3
cccc |
M:C
L:1/4
%%timewarn 1
cccc | cccc |
M:4/3
cccc |
L:1/4
K:Cm
M:C
%%timewarn 1
cccc | cccc |
K:F
M:4/3
cccc |
L:1/4
K:Cm
M:C
%%keywarn 0
%%timewarn 1
cccc | cccc |
K:F
M:4/3
cccc |
When set, this command adds an ambitus at start of the first music line.
L:1/4
%%ambitus 1
K:C
zGAB|c2e2|c4|]
Bagpipe notation style
There are two keys specifically for notating highland bagpipe tunes: K:HP doesn't put a key signature on the music,
as is common with many tune books of this music, while K:Hp marks the stave with F sharp, C sharp and G natural.
Both force all the beams and staffs to go downwards. These correspond to the two conventional ways of notating bagpipe music.
L:1/8
K:HP
C c c' |
L:1/8
K:Hp
C c c' |
L:1/8
K:HP
%%straightflags 1
C c c' |