[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Percussion with lyrics
From: |
Leo Correia de Verdier |
Subject: |
Re: Percussion with lyrics |
Date: |
Fri, 6 Sep 2024 13:21:50 +0200 |
Like this? The staff with the lyrics was being created because in the score
block, when you created the NullVoice it had nowhere to go, so the staff was
implicitly created for it. Here it is created inside the DrumStaff in the
drumsPart variable.
%%% SNIPPET BEGINS
\version "2.22.1"
\header {
title = \markup \concat { "Oh, but it " \underline "does" " work!" }
instrument = "Frog / Cajonga's"
}
\paper {
left-margin = 20
}
\layout {
\context {
\Lyrics
\consists Bar_engraver
\consists Separating_line_group_engraver
\hide BarLine
}
}
global = {
\key c \major
\time 4/4
}
melody = {
\repeat unfold 6 {
a1 |
}
}
verse = \lyricmode {
\override LyricText.self-alignment-X = #LEFT
\override LyricText.extra-offset = #'(-1 . 0)
"Measure one and"
""
"Measure two and"
"A measure with more notes"
""
"And the final one!"
}
% tomml toml tomfh
drum = \drummode {
R1 |
r4 hh4 hh4 r4 |
R1 |
R1 |
r2 r16 toml16 toml toml r4 |
R1 |
\bar "|."
}
drumsPart = \new DrumStaff \with {
\consists "Instrument_name_engraver"
instrumentName = \markup \center-column { "Frog" "Cajs" }
} << \global \drum \new NullVoice = "aligner" \melody >>
\score {
<<
\drumsPart
\new Lyrics \lyricsto "aligner" \verse
>>
}
%%% SNIPPET ENDS
> 6 sep. 2024 kl. 13:02 skrev Christ van Willegen <cvwillegen@gmail.com>:
>
> HI Kieren,
>
> On Fri, Sep 6, 2024 at 12:56 PM Kieren MacMillan
> <kieren@kierenmacmillan.info> wrote:
> p.s.
>
> You could get away with your “one giant lyric blob on whole notes” approach
> with a few tweaks:
>
>
> %%% SNIPPET SNIPPED
>
> Hope that [also] helps!
> Kieren.
>
> Well, I'd rather not see the (empty) staff there. It will only take up space!
> Both your snippets show an empty 'voice' staff (that I'm not particularly
> interested in :-) )
>
> Christ van Willegen