Open kastdeur opened 2 years ago
One use is to switch between slurs and laissezVibrer at the end of a repeat. \ e.g. In the following the unfolded repeats work nicely, but doesn't work in volta correctly.
\version "2.20.0"
\include "lilydrum.ly"
music = \drummode {
\repeat volta 2 {
d4 d |
} \alternative {
{ d4:32( d4:32)( <>)}
{ d4:32( d4:32) }
}
}
\score {
\new PipeBandDrumStaff {
\time 2/4
\unfoldRepeats \music
}
}
unfolded: (nice)
volta: (ugly, and wrong)
\version "2.20.0"
\include "lilydrum.ly"
music = \drummode {
\repeat volta 2 {
d4 d |
} \alternative {
{ d4:32( d4:32) \laissezVibrer}
{ d4:32( d4:32) }
}
}
\score {
\new PipeBandDrumStaff {
\time 2/4
\unfoldRepeats \music
}
}
unfolded: (ugly, and wrong)
volta: (semi-nice)
Not really something that should be in this package, but a function that detects whether the current environment is in a
\repeat volta
(or instead in a\repeat unfold
) would be really cool to have. \ This could allow music to transform itself depending on the context.