|
From: | tisimst |
Subject: | Re: Why warning: cannot end volta spanner? |
Date: | Thu, 6 Oct 2016 08:29:18 -0700 (MST) |
This rather follows on from https://lists.gnu.org/archive/html/lilypond-user/2016-02/msg and00014.html
http://lists.gnu.org/archive/html/lilypond-user/2016-03/msg0 0531.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
}
}
}
[Prev in Thread] | Current Thread | [Next in Thread] |