lilypond-user
[Top][All Lists]
Advanced

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

Re: 2.23.5 articulate.ly and repeat alternatives


From: Thomas Morley
Subject: Re: 2.23.5 articulate.ly and repeat alternatives
Date: Fri, 7 Jan 2022 13:12:05 +0100

Am Fr., 7. Jan. 2022 um 02:31 Uhr schrieb Joel C. Salomon
<joelcsalomon@gmail.com>:
>
>
> Yesterday, I wrote:
> >      \version "2.23.5"
> >      \include "articulate.ly"
> >
> >      music = \relative c' {
> >        c1
> >        \repeat volta 2 {
> >          e
> >          \alternative {
> >            { g } { gis }
> >          }
> >        }
> >        b
> >      }
> >
> >      \score { \music }
> >      \score { \unfoldRepeats \music }
> >      \score { \articulate \music }
> >      \score { \articulate \unfoldRepeats \music }
>
> To be clear about the issue:
> • `\score { \music }` correctly yields
>
>      C |: E G :| G# B
>
> • `\score { \unfoldRepeats \music }` correctly yields
>
>      C E G E G# B
>
> • but `\score { \articulate \music }` yields
>
>      C E G G# E G G# B
>
> with both alternatives, G & G#, printed both times.
>
> —Joel C. Salomon
>

I've created https://gitlab.com/lilypond/lilypond/-/issues/6254 for this.
For now use the older syntax:
Not
\repeat volta 2 { ... \alternative { { ... } { ... } } }
but
\repeat volta 2 { ... } \alternative { { ... } { ... } }

Cheers,
  Harm



reply via email to

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