Next: , Previous: Clef, Up: Staff notation



4.3.4 Ottava brackets

“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 }

[picture of music]

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 (lilypond-internals).

Bugs

set-octavation will get confused when clef changes happen during an octavation bracket.

This page is for LilyPond-2.0.3 (stable-branch).
Report errors to <bug-lilypond@gnu.org>.