|
From: | Peter Toye |
Subject: | Re: Why warning: cannot end volta spanner? |
Date: | Thu, 6 Oct 2016 18:12:27 +0100 |
Peter, Try taking the “a, b, and c” out of the second ending, i, e, \alternative { {g f e g }{g }} a b c Mark From: lilypond-user [mailto:address@hidden On Behalf Of Peter Toye Sent: Thursday, October 06, 2016 8:21 AM To: address@hidden, Subject: Why warning: cannot end volta spanner? This rather follows on from https://lists.gnu.org/archive/html/lilypond-user/2016-02/msg00014.html and http://lists.gnu.org/archive/html/lilypond-user/2016-03/msg00531.html I am trying to do a similar thing with a volta repeat: a longish 1st time section without a long 2nd time volta indication. I tried to set the voltaSpannerDuration but this gives an error "cannot end volta spanner", which I don't understand. Is there a way of doing this without getting an error? It seems that LP tries to put the same number of bards into the 2nd time as the 1st time. A quick straw poll of printed music implies that the norm for the final alternative is a single bar. Is this a bug or am I missing something? A minimal example follows. \version "2.18.2" \language "english" \score { \new Staff { \time 4/4 \clef treble \relative c'' { c1 \repeat volta 2 { c d e f } \alternative { { g f e d } { \set Score.voltaSpannerDuration = #(ly:make-moment 4/4) g a b c } } b a g } } } Regards, Peter mailto:address@hidden www.ptoye.com |
[Prev in Thread] | Current Thread | [Next in Thread] |