Next: Instrument transpositions, Previous: Key signature, Up: Displaying pitches
Ottava brackets introduce an extra transposition of an octave for the staff:
a'2 b
#(set-octavation 1)
a b
#(set-octavation 0)
a b
The set-octavation 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.
{
#(set-octavation 1)
\set Staff.ottavation = #"8"
c''1
#(set-octavation 0)
c'1
#(set-octavation 1)
\set Staff.ottavation = #"Text"
c''1
}
Music Glossary: octavation.
Snippets: Pitches.
Internals Reference:
Ottava_spanner_engraver,
OttavaBracket,
ottava-bracket-interface.
Next: Instrument transpositions, Previous: Key signature, Up: Displaying pitches
This page is for LilyPond-2.11.50 (development-branch).
Report errors to http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs.
Your suggestions for the documentation are welcome.
Other languages: français, español.
About automatic language selection.