It struck we as weird to put the lyrics inside the DrumStaff, so I tried
something closer to what I would have done for a choir:
\score {
<<
\new DrumStaff <<
\new DrumVoice { \voiceOne \CyBars }
\new DrumVoice { \voiceTwo \DrBars }
>>
\new Lyrics { \PrOne }
>>
}
Looks better to my eye.
Regards,
Mogens
Sent from Mail for Windows
From: Stu McKenzie
Sent: June 20, 2023 9:46 AM
To: LilyPond User List
Subject: Vertical Spacing with Tuplets and Lyrics
I have a drums score that includes tuplets in both voiceOne (cymbals) and
voiceTwo (drums), and lyrics for some bars.
I'm trying to adjust the vertical spacing so that the lyrics don't clash with
the tuplet brackets.
The tiny example below contains an example of the combinations of the two
voices and lyrics.
I've included the "paper" block (commented out) to show that, when allowed, all
staves have the same spacing. Enable the paper block to generate the result
with "system-system-spacing" enabled.
The example has been expanded to deliberately repeat multiple times, to
exaggerate the clashes when the paper block is commented out.
I would like to toggle the vertical spacing when there are, and are not, lyrics.
I've investigated, without success, changing properties of the
VerticalAxisGroup grob.
"system-system-spacing" does not provide an elegant solution, because the
staves without lyrics are too far apart. What would be a better way to achieve
the result that I desire?
Tiny (maybe not so tiny) example:
\version "2.24.0"
% \paper { system-system-spacing.basic-distance = #20 }
CyBars = \drummode {
\repeat unfold 15 { \repeat unfold 4 { \tuplet 3/2 { hh4 hh8 } } \break }
}
DrBars = \drummode {
\repeat unfold 15 { bd4 \tuplet 3/2 { sn4 bd8 } bd4 sn \break }
}
PrOne = \lyricmode {
\override LyricText.self-alignment-X = #LEFT
\skip 4 "Lyrics for introduction"2.
}
\score {
\new DrumStaff
<<
\new DrumVoice { \voiceOne \CyBars }
\new DrumVoice { \voiceTwo \DrBars }
\new Lyrics { \PrOne }
>>
}