source code
\version "2.24.1"
% global data required for every staff
global = {
\numericTimeSignature
\key d\major
\time 4/4
\tempo 4=86
\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
b'2. d4 | a1 | b2. g4 | e1
% Optional multiple voices for the melody
<d a'>1 | <d g> | <d g> | <g, d'>
}
% 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
\repeat unfold 2 { g,4 g g g | fis fis fis fis | e e e e | c' c c c }
}
chordNames = \chordmode {
d1
}
% 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
%lyricsToMelody = ##t
songtext = \lyricmode {}
\include "../template.ly"