Le 07/01/2022 à 13:12, Thomas Morley a écrit :
Am Fr., 7. Jan. 2022 um 02:31 Uhr schrieb Joel C. Salomon
<[email protected]>:

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