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 { { ... } { ... } }