lilypond-user
[Top][All Lists]
Advanced

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

Re: 2.25.2 optional fine endings


From: Paul Scott
Subject: Re: 2.25.2 optional fine endings
Date: Sat, 11 Mar 2023 23:34:42 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0

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 <waterhorsemusic@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

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