On Thu 06 Oct 2016 at 18:12:27 (+0100), Peter Toye wrote:
> Mark and Kieren,
> 
> Of course! The reason I didn't spot it is that the alternative starts with a 
> 16-bar section in a \repeat unfold 2, and that of course is a separate 
> expression.

> It looks like I'll have to do the unfolding manually - what a pain!
Why? \set Score.voltaSpannerDuration = #(ly:make-moment 4/4)
still works.

Cheers,
David.
\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)
          \repeat unfold 2 { g a b c }
        }
      }
      b a g
    }
  }
}

Attachment: v.pdf
Description: Adobe PDF document

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to