]> Shamusworld >> Repos - music/blob - template.ly
New charts "How Great Thou Art" and "In The Garden".
[music] / template.ly
1 \version "2.19.0"
2 \include "pop-chords.ly"
3 \include "english.ly"
4
5 % Good sizes are 16, 18, & 20 (11, 13, 14, 23, 26)
6 staffSize = #16
7 #(set-default-paper-size "letter")
8 #(set-global-staff-size staffSize)
9 #(ly:set-option (quote no-point-and-click))
10
11 %{ Some useful characters: ‘ ’ “ ” – — † ‡ • … %}
12
13 \header
14 {
15         title    = \markup { \override #'(font-family . sans) \fontsize #3.5 "A Template" }
16 %       composer = \markup { \override #'(font-family . sans) \fontsize #1.3 "" }
17         arranger = \markup { \override #'(font-family . sans) \fontsize #1.3 "arr. Some One" }
18         tagline  = $(string-append "Engraved by JLH and Lilypond " (lilypond-version))
19 }
20
21
22 %
23 % Song's structure
24 %
25 Global =
26 {
27         \clef G
28         \key f \major
29         \numericTimeSignature
30         \time 3/4
31
32         % Intro
33
34         s2.*8 \bar ".|:-||"   % 1-8
35
36         \repeat volta 2
37         {
38                 % Verse
39
40                 \mark \markup { \override #'(font-family . sans) { \box { A } } }
41                 s2.*9 |   % 9-17
42         }
43         \alternative
44         {
45                 {
46                         s2.*2 |   % 18-19
47                 }
48                 {
49                         s2. |   % 20
50                 }
51         }
52
53         s2. \bar "||"   % 21
54
55         % Verse
56
57         \mark \markup { \override #'(font-family . sans) { \box { B } } }
58         s2.*7 \bar "||"   % 22-28
59         s2.*2 |   % 29-30
60
61         \key g \major
62
63         s2.*2 \oneVoice \bar "||"   % 31-32
64
65         % Verse
66
67         \mark \markup { \override #'(font-family . sans) { \box { C } } }
68         s2.*7 \bar "||"   % 22-28
69
70         % Ending
71
72         s2.^\markup { \hspace #0.0 \raise #3.0 \italic { Play figure throughout D } } |   % 40
73         s2.*3 |   % 41-43
74
75         \repeat volta 2
76         {
77                 \mark \markup { \override #'(font-family . sans) { \box { D } } }
78                 s2.*8 |   % 44-51
79         }
80 }
81
82
83 %
84 % Lead vocal
85 %
86 LeadVox = \relative c'
87 {
88         % Intro
89
90         s2.*7 |   % 1-7
91         r2 c4 |   % 8
92
93         % Verse
94
95         f8 f g4 g |   % 9
96         a8 g f4 g |   % 10
97         a8 a bf4 a |   % 11
98         g4. r8 c4 |   % 12
99         c8 a a4 f |   % 13
100         f8 d d4 f8 ( d ) |   % 14
101         c8 f f4 g |   % 15
102
103         \voiceTwo f2. |   % 16
104         s2. |   % 17
105
106         s2. |   % 18
107         r2 c4 |   % 19
108
109         s2. |   % 20
110
111         r2 c4 \oneVoice |   % 21
112
113         % Verse
114
115         f8 f g4 g |   % 22
116         a8 g f4 g |   % 23
117         a8 a bf4 a |   % 24
118         g4. r8 c4 |   % 25
119         c8 a a4 f |   % 26
120         f8 d d4 f8 ( d ) |   % 27
121         c8 f f4 g |   % 28
122
123         \voiceTwo f2. |   % 29
124         s2. |   % 30
125
126         s2. |   % 31
127         r2 d4 |   % 32
128
129         % Verse
130
131         g8 g a4 a |   % 22
132         b8 a g4 a |   % 23
133         b8 b c4 b |   % 24
134         a4. r8 d4 |   % 25
135         d8 b b4 g |   % 26
136         g8 e e4 g8 ( e ) |   % 27
137         d8 g g4 a |   % 28
138
139         % Ending
140
141         \voiceTwo g2. |   % 40
142         s2. |   % 41
143         s2. |   % 42
144         r2 d4 \oneVoice |   % 43
145
146         g8 g16 a ( ~ a4. g8 ) |   % 44
147         g2 r4 |   % 45
148         r4 a4. g8 |   % 46
149         g2 d4 |   % 47
150         g8 g16 a ( ~ a4. g8 ) |   % 48
151         g2 r4 |   % 49
152         r4 a4. b8 |   % 50
153         g2^\fermata d4 |   % 51
154 }
155
156
157 LeadVoxText = \lyricmode
158 {
159         O for a thou -- sand tongues to sing
160         my great re -- dee -- mer’s praise;
161         The glo -- ries of my God and king,
162         the __ _ tri -- umphs of his grace.
163
164         My
165
166         Je -- sus the name that charms our fears
167         that bids our sor -- rows cease;
168         ’Tis mu- sic in the sin -- ner’s ears,
169         ’Tis __ _ life and health and peace.
170
171         He breaks the power of can -- celled sin
172         he sets the pris’ -- ner free;
173         His blood can make the foul -- est clean,
174         his __ _ blood a -- vailed for me.
175
176         O for a thou -- __ _ _ sand tongues to sing
177         O for a thou -- __ _ _ sand tongues to sing
178         O
179 }
180
181 LeadVoxTextB = \lyricmode
182 {
183         _ gra -- cious mas -- ter and my God
184         a -- ssist me to pro -- claim;
185         To spread through all the earth a -- broad
186         the __ _ ho -- nors of thy name.
187 }
188
189
190 Riffs = \relative c''
191 {
192         % Intro
193
194         \tiny
195         \repeat "percent" 3   % 1 - 6
196         {
197                 << { \tiny f16 c f, <f' f,> ~ <f f,> f, c' f f8 e } \\ { \tiny f,,2 c'4 } >> |   % 1
198                 << { \tiny f'16 c f, <f' f,> ~ <f f,> f, c' f f8 e } \\ { \tiny bf,2 c4 } >> |   % 2
199         }
200         << s2. \\ { \tiny d2 c4 } >> |   % 7
201         << s2. \\ { \tiny bf2. } >> |   % 8
202
203         s2.*7
204
205         \voiceOne
206         \repeat "percent" 6 { f''16 c f, <f' f,> ~ <f f,> f, c' f f8 e | }   % 16-21
207         \oneVoice
208
209         s2.*7
210
211         \voiceOne
212         \repeat "percent" 2 { f16 c f, f' ~ f f, c' f f8 e | }   % 29-30
213         \oneVoice
214
215         \key g \major
216
217         \voiceOne
218         \repeat "percent" 2 { g16 d g, g' ~ g g, d' g g8 fs | }   % 31-32
219         \oneVoice
220
221         s2.*7
222
223         \voiceOne
224         \repeat "percent" 4 { g16 d g, g' ~ g g, d' g g8 fs | }   % 40-43
225         \oneVoice
226         \normalsize
227 }
228
229
230 %
231 % Chord names
232 %
233 Chords = \chordmode
234 {
235         % Intro
236
237         f2. |   % 1
238         bf2. |   % 2
239         f2. |   % 3
240         bf2. |   % 4
241         f2. |   % 5
242         bf2. |   % 6
243         d2.:m9 |   % 7
244         bf2. |   % 8
245
246         % Verse
247
248         f4 c2/e |   % 9
249         d8:m c bf2 |   % 10
250         f4/c bf/c f/c |   % 11
251         c2 c4/e |   % 12
252         f2 f4/a |   % 13
253         bf2 g4:m7 |   % 14
254         f4/c bf/c c |   % 15
255
256         f2. |   % 16
257         bf2. |   % 17
258
259         f2. |   % 18
260         bf2. |   % 19
261
262         d2.:m9 |   % 20
263
264         bf2. |   % 21
265
266         % Verse
267
268         d4:m9 c2/e |   % 22
269         ef4 bf2 |   % 23
270         d2.:m9 |   % 24
271         ef2:maj9 bf4/c |   % 25
272         f4 g:m7 f/a |   % 26
273         bf2 bf4:m/df |   % 27
274         f4/c bf/c c |   % 28
275
276         f2. |   % 29
277         bf2. |   % 30
278
279         g2. |   % 31
280         c2. |   % 32
281
282         % Verse
283
284         g:^3 |   % 33
285         e8:m d c2 |   % 34
286         g4/d c/d g/d |   % 35
287         d2 d4/fs |   % 36
288         g2 g4/b |   % 37
289         c2 a4:m7 |   % 38
290         g4/d c/d d |   % 39
291
292         % Ending
293
294         g2. |   % 40
295         c2. |   % 41
296         e2.:m9 |   % 42
297         c2. |   % 43
298
299         g2. |   % 44
300         c2. |   % 45
301         g2. |   % 46
302         c2. |   % 47
303         g2. |   % 48
304         c2. |   % 49
305         e2.:m9 |   % 50
306         c2. |   % 51
307 }
308
309
310 %
311 % Alternate chord changes (2nd verse)
312 %
313 ChordsSup = \chordmode
314 {
315         % Intro
316
317         s2.*8 |   % 1-8
318
319         % Verse
320
321         bf4/d c2/e |   % 9
322         f8 f/a bf2 |   % 10
323         f4/g bf/g f/g |   % 11
324         c2:sus4 c4 |   % 12
325 }
326
327
328 %
329 % Chord rhythms
330 %
331 StaffC = \relative c
332 {
333         \numericTimeSignature
334         \override NoteHead #'style = #'slash
335         \teeny
336
337         % Intro
338
339         r8. c16 r4 c |   % 1
340         c4 c c |   % 2
341         c4 c c |   % 3
342         c4 c c |   % 4
343         c4 c c |   % 5
344         c4 c c |   % 6
345         c4 c c |   % 7
346         c4 c c |   % 8
347
348         % Verse
349
350         c4 c2 |   % 9
351         c8 c c4 c |   % 10
352         c4 c c |   % 11
353         c4 c c-> |   % 12
354         c4 c c |   % 13
355         c4 c c |   % 14
356         c4 c c |   % 15
357
358         c4 c c |   % 16
359         c4 c c |   % 17
360
361         c4 c c |   % 18
362         c4 c c |   % 19
363
364         c4 c c |   % 20
365
366         c4 c c |   % 21
367
368         % Verse
369
370         c4 c2 |   % 22
371         c4 c2 |   % 23
372         c2. |   % 24
373         c2 c4-> |   % 25
374         c4-> c-> c |   % 26
375         c4 c c |   % 27
376         c4 c c |   % 28
377
378         c4 c c |   % 29
379         c4 c c |   % 30
380
381         c4 c c |   % 31
382         c4 c c |   % 32
383
384         % Verse
385
386         c2.-> |   % 33
387         c8-> c-> c4-> c |   % 34
388         c4 c c |   % 35
389         c4 c c |   % 36
390         c4 c c |   % 37
391         c4 c c |   % 38
392         c4 c c |   % 39
393
394         % Ending
395
396         c4 c c |   % 40
397         c4 c c |   % 41
398         c4 c c |   % 42
399         c4 c c |   % 43
400
401         c4 c c |   % 44
402         c4 c c |   % 45
403         c4 c c |   % 46
404         c4 c c |   % 47
405         c4 c c |   % 48
406         c4 c c |   % 49
407         c4 c c |   % 50
408         c4^\fermata c c |   % 51
409 }
410
411
412 Dynamics =
413 {
414         s4_\markup { \italic { snare pat. } } s2 |   % 1
415         s4_\markup { \italic { simile } } s2 |   % 2
416         s2.*19
417         s4_\markup { \italic { spacy } } s2 |   % 22
418         s2.*5
419         s4 s \< s \! |   % 28
420         s2.*22
421         s4_\markup { \italic { Last time } } s2 |   % 51
422 }
423
424
425 \score
426 {
427         <<
428                 \Global         % The "roadmap" that everything else depends on
429
430                 \context Staff
431                 <<
432                         \new Voice = "lead" \LeadVox
433                         \new Voice = "riffs" \Riffs
434                         \new Lyrics \lyricsto "lead" \LeadVoxText
435                         \new Lyrics \lyricsto "lead" \LeadVoxTextB
436                 >>
437
438                 \new ChoirStaff
439                 <<
440                         \new ChordNames \Chords
441                         \new ChordNames \ChordsSup
442                         \new RhythmicStaff << \StaffC \Dynamics >>
443                 >>
444
445                 \set Score.skipBars = ##t
446                 \set Score.melismaBusyProperties = #'()
447         >>
448 }
449
450
451 \paper
452 {
453         #(define fonts (make-pango-font-tree
454                 "Times New Roman"
455                 "LilyJAZZText"
456                 "Luxi Mono"
457                 (/ staffSize 20)))
458
459 % Don't spread staves vertically across last page (default: t)
460 %       ragged-last-bottom = ##f
461 % Don't spread staves vertically across the page (default: f)
462 %       ragged-bottom = ##t
463 % Allow partial line for last stave (default: f)
464         ragged-last = ##t
465
466 % To find out what's eating the space at the top...
467 %       annotate-spacing = ##t
468 }
469