Piano template with melody and lyrics: Difference between revisions
Appearance
Import snippet from LSR |
mNo edit summary |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
Here is a typical song format: one staff with the melody and lyrics, with piano accompaniment underneath. | Here is a typical song format: one staff with the melody and lyrics, with piano accompaniment underneath. | ||
<lilypond version="2.24 | <lilypond version="2.24"> | ||
melody = \relative c'' { | melody = \relative c'' { | ||
\clef treble | \clef treble | ||
| Line 46: | Line 46: | ||
</lilypond> | </lilypond> | ||
[[Category:Keyboards]] | |||
[[Category:Really simple]] | |||
[[Category:Template]] | [[Category:Template]] | ||
[[Category:Vocal music]] | [[Category:Vocal music]] | ||
[[Category:Included in the official documentation]] | [[Category:Included in the official documentation]] | ||
[[Category:Snippet]] | |||
Latest revision as of 05:29, 13 December 2025
Here is a typical song format: one staff with the melody and lyrics, with piano accompaniment underneath.
\version "2.24"
melody = \relative c'' {
\clef treble
\key c \major
\time 4/4
a b c d
}
text = \lyricmode {
Aaa Bee Cee Dee
}
upper = \relative c'' {
\clef treble
\key c \major
\time 4/4
a4 b c d
}
lower = \relative c {
\clef bass
\key c \major
\time 4/4
a2 c
}
\score {
<<
\new Voice = "mel" { \autoBeamOff \melody }
\new Lyrics \lyricsto mel \text
\new PianoStaff <<
\new Staff = "upper" \upper
\new Staff = "lower" \lower
>>
>>
\layout {
\context { \Staff \RemoveEmptyStaves }
}
\midi { }
}