blob: e3877fa8d935a969264dc980b1f0fbde3ca3f017 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
|
%some settings% vim: ai sw=2 lbr nu et
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% foreign code %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% first one
rhythmMarkStaffReduce = #-3
rhythmMarkLabelFontSize = #-2
rhythmMark = #(define-music-function (parser location label musicI musicII ) (string? ly:music? ly:music?)
#{
\mark \markup {
\line \vcenter {
\combine % 1st column in line
\italic \fontsize #rhythmMarkLabelFontSize $label
\transparent \italic \fontsize #rhythmMarkLabelFontSize f
% This fakes a uniform baseline (ie. create common anchor for vcenter)
\score { % 2nd column in line
\new Staff \with {
fontSize = #rhythmMarkStaffReduce
\override StaffSymbol #'staff-space = #(magstep rhythmMarkStaffReduce)
\override StaffSymbol #'line-count = #0
\override VerticalAxisGroup #'Y-extent = #'(0 . 0) % td
}
\relative { \stemUp $musicI }
\layout {
ragged-right= ##t
indent = 0
\context {
\Staff
\remove "Clef_engraver"
\remove "Time_signature_engraver" }
} % layout
} % 1st Score end
\hspace #-0.1 % 3rd column in line
% 4th column in line
\italic \fontsize #rhythmMarkStaffReduce "="
\score { % 5th column in line
\new Staff \with {
fontSize = #rhythmMarkStaffReduce
\override StaffSymbol #'staff-space = #(magstep rhythmMarkStaffReduce)
\override StaffSymbol #'line-count = #0
\override VerticalAxisGroup #'Y-extent = #'(0 . 0) % td
}
\relative { \stemUp $musicII }
\layout {
ragged-right= ##t
indent = 0
\context {
\Staff
\remove "Clef_engraver"
\remove "Time_signature_engraver" }
} % layout end
} % 2nd Score end
} % line end
} % markup end
#})
% second one
rhythmMarkCStaffReduce = #-4
rhythmMarkCLabelFontSize = #-2
rhythmMarkC = #(define-music-function (parser location label musicI musicII ) (string? ly:music? ly:music?)
#{
\mark \markup
{
\combine
\line {
\hspace #0
\translate #'(-0.1 . -3.25) \italic \fontsize #rhythmMarkCLabelFontSize $label
} % end Line
\line \vcenter {
\score { % 1st column in line
\new Staff \with {
fontSize = #rhythmMarkCStaffReduce
\override StaffSymbol #'staff-space = #(magstep rhythmMarkCStaffReduce)
\override StaffSymbol #'line-count = #0
\override VerticalAxisGroup #'Y-extent = #'(0 . 0) % td
}
\relative { \stemUp $musicI }
\layout {
ragged-right= ##t
indent = 0
\context {
\Staff
\remove "Clef_engraver"
\remove "Time_signature_engraver" }
} % layout
} % 1st score
\hspace #-0.1 % 2nd column in line
% 3rd column in line
\italic \fontsize #rhythmMarkCStaffReduce "="
\score { % 4th column in line
\new Staff \with {
fontSize = #rhythmMarkCStaffReduce
\override StaffSymbol #'staff-space = #(magstep rhythmMarkCStaffReduce)
\override StaffSymbol #'line-count = #0
\override VerticalAxisGroup #'Y-extent = #'(0 . 0) % td
}
\relative {
\stemUp $musicII
}
\layout {
ragged-right= ##t
indent = 0
\context {
\Staff
\remove "Clef_engraver"
\remove "Time_signature_engraver" }
} % layout
} % 2nd score end
} % line end
% end combine
} % markup end
#})
% some definitions
rhyMarkI = { b'1 }
rhyMarkII = { b'2 }
rhyMarkIV = { b'4 }
rhyMarkEighth = { b'8 }
rhyMarkIIEighths = {
% \override Score.SpacingSpanner #'common-shortest-duration = #(ly:make-moment 1 4) % tight
\override Score.SpacingSpanner #'common-shortest-duration = #(ly:make-moment 3 16) % even
b'8[ b8]
}
rhyMarkTriplets = {
% \override Score.SpacingSpanner #'common-shortest-duration = #(ly:make-moment 1 2) % super-tight
% \override Score.SpacingSpanner #'common-shortest-duration = #(ly:make-moment 1 4) % tight
\override Score.SpacingSpanner #'common-shortest-duration = #(ly:make-moment 3 16) % even
\times 2/3 { b'4 b8 }
}
rhyMarkSlurredTriplets = {
% \override Score.SpacingSpanner #'common-shortest-duration = #(ly:make-moment 1 4) % tight
% \override Score.SpacingSpanner #'common-shortest-duration = #(ly:make-moment 5 32) % slighty tighter as even
\override Score.SpacingSpanner #'common-shortest-duration = #(ly:make-moment 1 8) % even
\times 2/3 { b'8 ~ b8 b8 }
}
rhyMarkDottedEighths = {
% \override Score.SpacingSpanner #'common-shortest-duration = #(ly:make-moment 1 4) % tight
\override Score.SpacingSpanner #'common-shortest-duration = #(ly:make-moment 3 16) % even
% \override Score.SpacingSpanner #'common-shortest-duration = #(ly:make-moment 1 8) % loose
{ b'8. b16 }
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% end of foreign code %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.12"
\include "dynArt.ly"
global = {
\key g \major
%\override Staff.TimeSignature #'style = #'()
\time 4/4
%\autoBeamOff
}
% Die Stimmen
sopSolo = \relative c'' {
\rhythmMark #" " \rhyMarkIIEighths \rhyMarkSlurredTriplets
\repeat volta 2 {
\oneVoice
g4( a8 b8 ~ b8 a8) r8 b8(
c4 b8 a8 ~ a8 g8) r8 a8(
b8) d,8 ~ d8 d8 ~ d8 d8 d4 ~
d2. r4
}
s1*11
\voiceOne
s2. d4
\repeat unfold 2 {
d'1( ~
d4 c8 d8 ~ d8 c8 ~ c4
b8) d,8 ~ d8 d8 ~ d8 d8 d4 ~
} \alternative {
{
d2. d4
}
{
d2. s4
}
}
}
sopPatI = \relative c' {
\repeat unfold 4 { d8 d8 }
\repeat unfold 4 { e8 e8 }
\repeat unfold 4 { d8 d8 }
\repeat unfold 4 { d8 d8 }
}
sopranMelodie = \relative c' {
<<
{ \meta }
%\sopranArt
%the actual tune
{ \sopSolo }
\\
{
s1*4
\repeat volta 2 {
\sopPatI
}
\repeat volta 2 {
g'4 a8 b8 ~ b8 a8 r8 b8
c4 b8 a8 ~ a8 g8 r8 a8
b8 a8 ~ a8 g8 ~ g4 b8 a8 ~
a2. r4
d4 b8 a8 ~ a8 b8 r8 d8
c4 b8 a8 ~ a8 g8 r8 a8
b8 a8 ~ a8 g8 ~ g4 b8 a8 ~
a2. s4
\voiceTwo
\sopPatI
r4 b8 a8 g8 fis8 e8 d8
c1
\repeat unfold 4 { d8 d8 }
\repeat unfold 3 { d8 d8 } d4
}
\oneVoice
g8 r8 a8 b8 ~ b8 a8 r8 b8
c4 b8 a8 ~ a8 g8 r8 a8
b8 a8 ~ a8 g8 ~ g4 b8 a8 ~
a2. r4
d8 r8 b8 a8 ~ a8 b8 r8 d8
c4 b8 a8 ~ a8 g8 r8 a8
b8 a8 ~ a8 g8 ~ g4 b8 a8 ~
a1
\bar "||"
% coda
r4 g8 g8 g8 r8 r4
\bar "|."
}
>>
}
altPatI = \relative c' {
\repeat unfold 4 { b8 b8 }
d8 d8 d8 d8 c8 c8 c8 c8
c8 c8 c8 c8 b8 b8 b8 b8
\repeat unfold 4 { a8 a8 }
}
altPatII = \relative c' {
d4 d8 r8 r8 d4 d8
e4 e8 r8 r8 e4 fis8
g4 d8 r8 r8 d4 e8
}
altMelodie = \relative c' {
<<
{ \meta }
%\altArt
%the actual tune
{
s1*4
\repeat volta 2 \altPatI
\repeat volta 2 {
\altPatII
d4 d8 r8 r8 d4 d8
\altPatII
d4 d8 r8 r8 d8 d8 d8
\altPatI
\repeat unfold 4 { d8 d8 }
\repeat unfold 4 { e8 e8 }
r4 b'8 a8 g8 fis8 e8 ees8
d2. r4
}
d8 r8 f8 f8 ~ f8 f8 r8 f8
e4 f8 g8 ~ g8 g8 r8 g8
g8 fis8 ~ fis8 d8 ~ d4 e8 e8( ~
e2 d4) r4
r8 g4 f8 ~ f8 g8 r8 f8
e4 g8 g8 ~ g8 g8 r8 g8
g8 g8 ~ g8 d8 ~ d4 g8 g8( ~
g2 fis2)
%coda
r4 d8 d8 d8 r8 r4
}
>>
}
tenorPatI = \relative c' {
\repeat unfold 4 { g8 g8 }
\repeat unfold 4 { g8 g8 }
\repeat unfold 4 { g8 g8 }
\repeat unfold 4 { fis8 fis8 }
}
tenorPatII = \relative c' {
b4 b8 r8 r8 b4 b8
d4 d8 r8 r8 c4 c8
b4 b8 r8 r8 b4 g8
}
tenorMelodie = \relative c' {
<<
{ \meta }
%\tenorArt
%the actual tune
\clef "treble_8"
{
s1*4
\repeat volta 2 \tenorPatI
\repeat volta 2 {
\tenorPatII
fis,4 fis8 r8 r8 fis4 fis8
\tenorPatII
fis4 fis8 r8 r8 fis8 fis8 fis8
\tenorPatI
\repeat unfold 4 { b8 b8 }
b8 b8 b8 b8 b8 b8 a8 a8
g8 b8 g8 fis8 g8 a8 g8 g8
fis8 fis8 fis8 fis8 fis8 fis8 fis4
}
b8 r8 c8 b8 ~ b8 c8 r8 b8
c4 d8 c8 ~ c8 c8 r8 c8
d8 c8 ~ c8 b8 ~ b4 g8 g8( ~
g2 fis4) r4
r8 d'4 d8 ~ d8 d8 r8 b8
c4 c8 c8 ~ c8 c8 r8 c8
d8 d8 ~ d8 b8 ~ b4 d8 d8 ~
d1
% coda
r4 b8 b8 b8 r8 r4
}
>>
}
bassPatI = \relative c {
\repeat unfold 4 { g8 g8 }
\repeat unfold 4 { c8 c8 }
\repeat unfold 4 { g8 g8 }
\repeat unfold 4 { d'8 d8 }
}
bassPatII = \relative c {
g4. b8 ~ b4 d4
c4. c8 ~ c4 d4
g4. b8 ~ b4 c4
}
bassMelodie = \relative c {
<<
{ \meta }
%\bassArt
%the actual tune
\clef bass
{
s1*4
\repeat volta 2 \bassPatI
\repeat volta 2 {
\bassPatII
d4. a8 ~ a4 d4
\bassPatII
d4. c8 ~ c4 a4
\bassPatI
g4. g8 d'8 d8 e8 d8
c4. c8 c8 c8 c8 c8
d4. d8 ~ d4 d4
d4. d8 d8 a8 d4
}
g8 r8 d8 g,8 ~ g8 d'8 r8 des8
c4 d8 e8 ~ e8 ees8 r8 ees8
d8 dis8 ~ dis8 e8 ~ e4 cis8 d8 ~
d2. r4
r8 b'4 c8 ~ c8 b8 r8 g8
g4 e8 ees8 ~ ees8 ees8 r8 ees8
d8 d8 ~ d8 d8 ~ d4 d8 d8 ~
d1
% coda
r4 g,8 g8 g8 r8 r4
}
>>
}
|