lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Percussion with lyrics


From: Kieren MacMillan
Subject: Re: Percussion with lyrics
Date: Fri, 6 Sep 2024 07:23:51 -0400

Hi,

> 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 :-) )

Then maybe you should be more specific with your requests…

%%%  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 "|."
}

\score {
  \new DrumStaff = "staff" <<
    \new NullVoice = "aligner" << \global \melody >>
    \new Lyrics \with { alignAboveContext = "staff" } \lyricsto "aligner" \verse
    << \global \drum >>
  >>
  \layout {
    \context {
      \Score
      \remove Bar_number_engraver
    }
    \context {
      \Lyrics
      \override VerticalAxisGroup.staff-affinity = #DOWN
      \override VerticalAxisGroup.nonstaff-relatedstaff-spacing =
        #'((basic-distance . 1 ) (padding . 1.5))
    }
    \context {
      \DrumStaff
      \consists Instrument_name_engraver
      instrumentName = \markup \center-column { "Frog" "Cajs" }
    }
  }
}
%%%  SNIPPET ENDS

Kieren
______________________________________________

My work day may look different than your work day. Please do not feel obligated 
to read or respond to this email outside of your normal working hours.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]