source code
\version "2.24.1"
% global data required for every staff
global = {
\numericTimeSignature
\key c\major
\time 4/4
\tempo 4=84
\set Timing.beamExceptions = #'()
\set Timing.baseMoment = #(ly:make-moment 1/4)
\set Timing.beatStructure = #'(1 1 1 1)
}
% The main melody (and right hand for piano players)
melody = \relative c' {
\global
g'2~ 8 c b g | a2 g4 c,16 d e f | g2~ 8 c b g | a4. gis16 a b8 e, e' d |
c2~ c8 c b g | a2~ a8 g e c | d2~ d8 d e f | g1
}
% Optionally add a right hand (defaults to the melody)
rightHand = \relative c' {
\global
<<
\new Voice { \voiceOne \melody }
\new Voice { \voiceTwo
<c e>2 <b d> | <c f> <b d> | <c e> <b d> | <c f> <e gis>8 e e d |
<e a>2 <e g> | <c f> <c e> | <a c> a | <a c f>1
}
>>
}
% Optionally add a left hand for piano players
% Remove the notes from the leftHand to remove the staff entirely
leftHand = \relative c' {
\global
\clef bass
c,,2 e | f g | c, e | f gis | a g | f e | d4. d16 e f2 | g1
}
chordNames = \chordmode {
c2 e:m7 | f c | c e:m7 | f e:/gis | a:m c:/g | f c:/e | d:m7 f |
\set additionalPitchPrefix = #"add"
f1:5.9
}
% Uncomment to for example change to which octave the different instruments are tranposed
% For example, use `\transpose es c` to lower by one octave.
%melodySax = \transpose es c \melody
%melodyHorn = \transpose f c \melody
% Optional lyrics to indicate when to start singing
songtext = \lyricmode {}
\include "../template.ly"