lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: volta repeats with alternatives


From: Paul Scott
Subject: Re: volta repeats with alternatives
Date: Thu, 23 Jul 2009 10:42:23 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.19) Gecko/20081204 Iceape/1.1.14 (Debian-1.1.14-1)

Felix Krause wrote:
Hi all,

I have two problems with endings of volta repeats:

1) I have a volta repeat with an alternative ending, like this:

\override Score.BarNumber #'break-visibility = #'#(#t #t #t)
\repeat volta 2 { r4 f r f }
\alternative { { r f r f } {  r f r a, } }
d a d a

The two endings should have the same bar (=measure) number. But lilypond increments the bar number of the second ending by 1. This is pretty annoying, as I need to manually set the bar number, like this:

\override Score.BarNumber #'break-visibility = #'#(#t #t #t)
\repeat volta 2 { r4 f r f }
\alternative { { r f r f } {
\set Score.currentBarNumber = #2
r f r a, } }
d a d a

Is there a setting or something to do this automatically? Why isn't it done by default anyway? (btw: the override command is just used to demonstrate the problem, I only need the measure numbers at the beginning of each line.)

This has been discussed here before. This is the way LilyPond works. Lily's way is consistent with many printed scores even though your way is sometimes done.

Paul Scott







reply via email to

[Prev in Thread] Current Thread [Next in Thread]