Jump to content

Single-staff template with notes and lyrics

From LilyPond wiki
Revision as of 05:32, 13 December 2025 by Lemzwerg (talk | contribs) (Lemzwerg moved page Single staff template with notes and lyrics to Single-staff template with notes and lyrics without leaving a redirect)

This small template demonstrates a simple melody with lyrics. Cut and paste, add notes, then words for the lyrics. This example turns off automatic beaming, which is common for vocal parts. To use automatic beaming, change or comment out the relevant line.

\version "2.24"

melody = \relative c' {
  \clef treble
  \key c \major
  \time 4/4

  a4 b c d
}

text = \lyricmode {
  Aaa Bee Cee Dee
}

\score{
  <<
    \new Voice = "one" {
      \autoBeamOff
      \melody
    }
    \new Lyrics \lyricsto "one" \text
  >>
  \layout { }
  \midi { }
}