Add the || bar type to the list of bar symbols that require a volta hook with

#(allow-volta-hook "||")

at the top level of the ly file.

On 04/06/2024 20:12, Paul Scott wrote:
I have tried several variations of (volta #f) and end-repeat with the following code:

\version "2.25.16"

xDS = \markup{\fontsize #4 \line{D.S. al Fine }}
xFine = \markup{\fontsize #4 Fine}

music = \fixed c' {
  g1
  \segnoMark 1
  f 4 g a b
  \set Score.repeatCommands = #`((volta ,xDS) )
  g4 a g a
  \set Score.repeatCommands = #`((volta #f) (volta ,xFine))
  \bar "||"
  b1
  \set Score.repeatCommands = #'((volta #f))
  \bar "|."
}

\score{ \music }
\score{ \unfoldRepeats \music }

How do I get the ending vertical line at the end of the first alternative?

This code also demonstrates the desirablity of getting the repeat segno structure to work for more cases.

TIA,

Paul



--
Timothy Lanfear, Bristol, UK.

Reply via email to