"Ottava" brackets introduce an extra transposition of an octave for
the staff. They are created by invoking the function
set-octavation
:
\relative c''' { a2 b #(set-octavation 1) a b #(set-octavation 0) a b }
Internally the set-octavation
function sets the properties
ottavation
(eg. to "8va"
) and
centralCPosition
. The function also takes arguments -1 (for 8va
bassa) and 2 (for 15ma).
OttavaSpanner.
set-octavation
will get confused when clef changes happen
during an octavation bracket.
This page is for LilyPond-2.0.1 (stable-branch).