lilypond-user
[Top][All Lists]
Advanced

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

Volta endings and using \set Score.repeatCommands


From: Stan Mulder
Subject: Volta endings and using \set Score.repeatCommands
Date: Sun, 9 Apr 2017 21:45:02 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

Hi group.

I'm trying to construct a certain volta ending where there is a first and second ending, but the first ending does a D.S. to the sign, while the the second ending is a multiple repeat for solos. I seem to have made it render correctly, but I keep getting this error. Hopefully this is enough code:


warning: already have a volta spanner, ending that one prematurely

[64]


DSalCoda = {
  \once \override Score.RehearsalMark.self-alignment-X = #RIGHT
  \mark \markup "D.S. al Coda"
}

voltaSolos = \markup { "2, 3, 4 . . ." }

  \alternative {
    {
      s1
      \DSalCoda
      \bar "||"
    }
    {
      \set Score.repeatCommands = #(list (list 'volta voltaSolos) 'start-repeat)
      s1
      \bar ":|."
    }
  }


Stan

Attachment: stan-example.jpg
Description: JPEG image


reply via email to

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