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:lilyp...@ptoye.com
www.ptoye.com
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user