clef clef_name[clef_line][octave_indication]

Default Command line Scope Available in
nonenoneimmediate
voice
abcm2ps
abc2svg

Insert a clef change.

clef_name may be:

clef_line gives the number of the line on which the note of the clef is defined.
When omitted, it defaults according to the clef name: line #3 for "C", line #4 for "F" and line #2 for the other clefs.

octave_indication is either

There should be no space in the %%clef value.

X:1 %%singleline 1 M:C L:1/4 K:C %%clef bass C,C\ %%clef G cc' |\ %%clef C4 C,4 |