Handling of different volta patterns across staves could be smarter
From Mats Bengtsson at https://lists.gnu.org/archive/html/bug-lilypond/2022-01/msg00007.html, converted to new alternative syntax:
\version "2.23.7"
\fixed c'
\new StaffGroup <<
\new Staff {
\repeat volta 2 {
e1
\alternative {
\volta 1 { g }
\volta 2 { c' }
}
d'
}
}
\new Staff {
\repeat volta 2 {
c1
\alternative {
\volta 1,2 { c }
}
d
}
}
>>
In this example, it would be better to unfold the two alternatives in the second staff as if this were \volta 1 { c } \volta 2 { c }
.
CC @eble