source code
\version "2.24.1"
\paper {
#(set-paper-size "letter") % Without this line paper size defaults to a4
top-margin = 0.3\in
left-margin = 0.3\in
right-margin = 0.3\in
bottom-margin = 0.3\in
two-sided = ##f % set to true for hole-punched copies
inner-margin = 0.4\in
outer-margin = 0.4\in
binding-offset = 0.2\in
#(define fonts
(make-pango-font-tree
"Perpetua"
"Arial Narrow"
"Alex Brush"
(/ staff-height pt 20)))
}
\header {}
MergeRests = {
}
global = {
\key g\major
\numericTimeSignature
\time 4/4
\tempo 4=64
\MergeRests
\set Timing.beamExceptions = #'()
\set Timing.baseMoment = #(ly:make-moment 1/4)
\set Timing.beatStructure = #'(1 1 1 1)
\partial 8*5
}
soprano = \relative c'' { \global
dis,8 dis dis cis dis \repeat volta 2 {\bar "[|:" | e4.
e8 e4 e8 fis | g fis e fis g4 a | b8 b b b c4 b | a r8
b8 b a g fis | e4.
e8 e4 e8 fis | dis dis dis dis e4 fis | dis8 dis dis dis e4 fis | dis r8
dis8 dis dis cis dis |
\bar ":|]"}
}
alto = \relative c' { \global
b8 b b b b \repeat volta 2 { | b4.
b8 b4 b8 b | e e e e e4 fis | g8 g g g g4 g | fis r8
g8 g fis e d | c4.
c8 c4 c8 c | b8 b b b b4 b | b8 b b b b4 c | b r8
b8 b b b b }
}
tenor = \relative c' { \global
fis,8 fis fis e fis \repeat volta 2 { | g4.
g8 g4 g8 a | b a g a b4 d | d8 d d d e4 d | d r8
d8 d d b a | g4.
g8 g4 g8 a | fis fis fis fis g4 a | fis8 fis fis fis g4 a | fis4 r8
fis8 fis fis e fis }
}
bass = \relative c { \global
b8 b b b b \repeat volta 2 { | e4.
e8 e4 e8 e e e e e e4 d | g8 g g g <c c,>4 g | d r8
g8 g d e b | c4.
c8 c4 c8 a | b b b b e4 a, | b8 b b b e4 a, | b r8
b8 b b b b }
}
verse = \lyricmode {
Als al -- les dui -- ster is,
ont -- steek dan een lich -- tend vuur dat nooit meer dooft, een vuur dat nooit meer dooft.
als al -- les dui -- ster is,
ont -- steek dan een lich -- tend vuur dat nooit meer dooft, een vuur dat nooit meer dooft.
Als al -- les dui -- ster
}
% Function that allows the creation of MIDI rehearsal files
rehearsalMidi = #
(define-music-function
(parser location name midiInstrument lyrics) (string? string? ly:music?)
#{
\unfoldRepeats <<
\new Staff = "soprano" \new Voice = "soprano" { s1*0\f \soprano }
\new Staff = "alto" \new Voice = "alto" { s1*0\f \alto }
\new Staff = "tenor" \new Voice = "tenor" { s1*0\f \tenor }
\new Staff = "bass" \new Voice = "bass" { s1*0\f \bass }
\context Staff = $name {
\set Score.midiMinimumVolume = #0.5
\set Score.midiMaximumVolume = #0.5
\set Score.tempoWholesPerMinute = #(ly:make-moment 100 4)
\set Staff.midiMinimumVolume = #0.8
\set Staff.midiMaximumVolume = #1.0
\set Staff.midiInstrument = $midiInstrument
}
\new Lyrics \with {
alignBelowContext = $name
} \lyricsto $name $lyrics
>>
#})
choirPart = \new ChoirStaff
<<
\new Staff \with {
midiInstrument = "choir aahs"
instrumentName = \markup \center-column { "Soprano" "Alto" }
shortInstrumentName = \markup \center-column { "S." "A." }
}
<<
\new Voice = "soprano"
{ \voiceOne \soprano }
\new Voice = "alto"
{ \voiceTwo \alto }
>>
\new Lyrics \with {
%\override VerticalAxisGroup #'staff-affinity = #CENTER
} \lyricsto "soprano" \verse
\new Staff \with {
midiInstrument = "choir aahs"
instrumentName = \markup \center-column { "Tenor" "Bass" }
shortInstrumentName = \markup \center-column { "T." "B." }
}
<<
\clef bass
\new Voice = "tenor"
{ \voiceOne \tenor }
\new Voice = "bass"
{ \voiceTwo \bass }
>>
>>
\score {
<<
\new ChordNames {
\chordmode {
\set noChordSymbol = ""
\partial 8*5 r8 r r r r \repeat volta 2 { | e1:m | e2.:m d4 | d2 c4 g | d2
g8 d e:m b:m | c1 | b2 e4:m a:m6 | b2 e4:m a:m6 | b1 }
}
}
\choirPart
>>
\layout{}
}
% This section is used to add context to the rehearsal parts
choirPartMIDI = \new ChoirStaff
<<
\new Staff \with {
midiInstrument = "choir aahs"
midiMaximumVolume = 0.5
midiMinimumVolume = 0.3
}
<<
\new Voice = "soprano"
{ \voiceOne \soprano }
\new Voice = "alto"
{ \voiceTwo \alto }
>>
\new Staff \with {
midiInstrument = "choir aahs"
midiMaximumVolume = 0.5
midiMinimumVolume = 0.3
}
<<
\clef bass
\new Voice = "tenor"
{ \voiceOne \tenor }
\new Voice = "bass"
{ \voiceTwo \bass }
>>
>>
% Rehearsal MIDI files:
\score {
\choirPart
\midi{}
}
\book {
\bookOutputSuffix "soprano"
\score {
<<
\rehearsalMidi "soprano" "soprano sax" \verse
% comment out the following lines if you want the part by itself
\choirPartMIDI
>>
\midi { }
}
}
\book {
\bookOutputSuffix "alto"
\score {
<<
\rehearsalMidi "alto" "soprano sax" \verse
% comment out the following lines if you want the part by itself
\choirPartMIDI
>>
\midi { }
}
}
\book {
\bookOutputSuffix "tenor"
\score {
<<
\rehearsalMidi "tenor" "tenor sax" \verse
% comment out the following lines if you want the part by itself
\choirPartMIDI
>>
\midi { }
}
}
\book {
\bookOutputSuffix "bass"
\score {
<<
\rehearsalMidi "bass" "tenor sax" \verse
% comment out the following lines if you want the part by itself
\choirPartMIDI
>>
\midi { }
}
}