I'm not seeing a post from anyone else exactly on this issue, so...

I like the new repeat structure:
https://lilypond.org/doc/v2.24/Documentation/notation/long-repeats#segno-repeat-structure

The example works with the whole note after volta 1, but if you add more
notes, change the rhythm, etc., the pdf doesn't display properly and MIDI
generates a warning and doesn't execute the repeat properly. If you put
curly brackets around the volta 1 section the problem disappears.

Is this a bug, or am I missing something (as usual).

Thanks,
Mark
\version "2.24.0"

% https://lilypond.org/doc/v2.24/Documentation/notation/long-repeats#segno-repeat-structure

musicQ = \fixed c' {
  f1
  \repeat segno 2 {
    g1
    \volta 2 \fine
    \volta 1 a4 a a a
  }
  \section
}

musicQcurly = \fixed c' {
  f1
  \repeat segno 2 {
    g1
    \volta 2 \fine
    \volta 1 { a4 a a a }
  }
  \section
}

\score { \musicQ }
\score { \unfoldRepeats \musicQ }
\score { \unfoldRepeats \musicQ
         \midi { }
}

\score { \musicQcurly }
\score { \unfoldRepeats \musicQcurly
         \midi { }
}

Attachment: Repeat Segno With MIDI-1.mid
Description: audio/mid

Attachment: Repeat Segno With MIDI.mid
Description: audio/mid

Attachment: Repeat Segno With MIDI.pdf
Description: Adobe PDF document

Reply via email to