Le 15/02/2022 à 20:19, Joel C. Salomon a écrit :
… seem not to play nicely together.
―Joel
\version "2.23.6"
musicA = \fixed c'' \repeat volta 2 { c d }
musicB = \fixed c { a b }
music = {
\musicA
\musicB
}
dynamics = {
<>\f
#(skip-of-length musicA)
<>\p
#(skip-of-length musicB)
%\fine
}
\score {
\new Staff <<
\unfoldRepeats \music
\unfoldRepeats \dynamics
>>
}
In recent versions, like version 2.23.6 which you are using, you can use
\skip \musicA
which is nicer syntax-wise and plays well with \unfoldRepeats.
Best,
Jean