Thank you for your quick reply.

This still gives the warning and I don't want any repeats there.

Paul


On 3/11/23 11:17 PM, Pierre Perol-Schneider wrote:
Hi Paul,
Try:
\version "2.25.0"

voltaFine = \markup { \text \upright \fontsize #2 "Fine Ending" }
voltaCont = \markup { \text \upright \fontsize #2 "To Cont." }
\fixed c' {
   c1
   \set Score.repeatCommands = #(list(list 'volta voltaFine) 'start-repeat)
   c4 d c2 \bar "|."
   \set Score.repeatCommands = #(list(list 'volta voltaCont) 'end-repeat)
   f4 g a b
   \set Score.repeatCommands = #'((volta #f))
}

See: https://lilypond.org/doc/v2.23/Documentation/notation/long-repeats
HTH, Cheers,
Pierre

Le dim. 12 mars 2023 à 05:51, Paul Scott <waterhorsemu...@aol.com> a écrit :

    The warning is:

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

    On 3/11/23 9:49 PM, Paul Scott wrote:
    > The following code derived from NR 1.4.1 "Manual repeats" does
    what I
    > want but gives a warning.  I don't understand the code or
    > documentation well enough to do it correctly.
    >
    > \version "2.25.2"
    >
    > voltaFine = \markup { \text \upright \fontsize #2 "Fine Ending" }
    > voltaCont = \markup { \text \upright \fontsize #2 "To Cont." }
    > \fixed c' {
    >   c1
    >   \set Score.repeatCommands = #(list(list 'volta voltaFine))
    >   c4 d c2 \bar "|."
    >   \set Score.repeatCommands = #(list(list 'volta voltaCont))
    >   f4 g a b
    >   \set Score.repeatCommands = #'((volta #f))
    > }
    >
    > TIA for help with this,
    >
    > Paul
    >
    >
    >

Reply via email to