On 06/04/11 23:26, Peter O'Doherty wrote:
Thanks.
The code you sent applies \ottava #1 to the whole score, whereas I
also have instances of |8vb and 15va etc|. All I need is a way to
change the property to print only 8 or 15 without va, vb etc. to save
me typing \set Staff.ottavation = #"8" each time.
Thanks,
Peter
\score { \new Staff {
{
{
\ottava #1
%\set Staff.ottavation = #"8"
c''1
\ottava #-1
%\set Staff.ottavation = #"8"
c,1
}
}}
\layout {
\context {
% \Score ottavation=#"8" % this does not work
} }}
Why not just define something like
eightU = { \ottava #1 \set Staff.ottavation = #"8" }
eightD = { \ottava #-1 \set Staff.ottavation = #"8" }
{
\eightU
c''1
\eightD
c,1
}
Nick
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user