Next: Instrument transpositions, Previous: Key signature, Up: Displaying pitches
Ottava brackets introduce an extra transposition of an octave for the staff:
a'2 b
\ottava #1
a b
\ottava #0
a b
The ottava function also takes -1 (for 8va bassa),
2 (for 15ma), and -2 (for 15ma bassa) as arguments.
Ottava text
Internally, the set-octavation function sets the properties
ottavation (for example, to "8va" or "8vb")
and middleCPosition. To override the text of the bracket, set
ottavation after invoking set-octavation.
{
\ottava #1
\set Staff.ottavation = #"8"
c''1
\ottava #0
c'1
\ottava #1
\set Staff.ottavation = #"Text"
c''1
}
Music Glossary: octavation.
Snippets: Pitches.
Internals Reference: Ottava_spanner_engraver, OttavaBracket, ottava-bracket-interface.
This page is for LilyPond-2.11.58 (development-branch).
Report errors to http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs.
Your suggestions for the documentation are welcome.