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: Jean Abou Samra
Subject: Re: 2.23.5 articulate.ly and repeat alternatives
Date: Sun, 9 Jan 2022 12:00:54 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1

Le 07/01/2022 à 13:12, Thomas Morley a écrit :
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 { { ... } { ... } }


Thanks! Now I see why I didn't understand the issue
at first (I had naively converted to the old syntax
to test 2.22).

Best,
Jean





reply via email to

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