blob: b078cc0f538a3e3c5879103f08abf5429019f359 (
about) (
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
|
% DO NOT EDIT this file manually; it is automatically
% generated from Documentation/snippets/new
% Make any changes in Documentation/snippets/new/
% and then run scripts/auxiliar/makelsr.py
%
% This file is in the public domain.
%% Note: this file works from version 2.17.30
\version "2.17.30"
\header {
= "staff-notation, ancient-notation, really-cool"
= "
Incipits can be added using the instrument name grob, but keeping
separate the instrument name definition and the incipit definition.
"
= "Incipit"
} % begin verbatim
incipit =
#(define-music-function (parser location incipit-music) (ly:music?)
#{
\once \override Staff.InstrumentName.self-alignment-X = #RIGHT
\once \override Staff.InstrumentName.self-alignment-Y = ##f
\once \override Staff.InstrumentName.padding = #0.3
\once \override Staff.InstrumentName.stencil =
#(lambda (grob)
(let* ((instrument-name (ly:grob-property grob 'long-text)))
(set! (ly:grob-property grob 'long-text)
#{ \markup
\score
{
{ \context MensuralStaff \with {
instrumentName = #instrument-name
} $incipit-music
}
\layout { $(ly:grob-layout grob)
line-width = \indent
indent =
% primitive-eval is probably easiest for
% escaping lexical closure and evaluating
% everything respective to (current-module).
#(primitive-eval
'(or (false-if-exception (- indent incipit-width))
(* 0.5 indent)))
ragged-right = ##f
ragged-last = ##f
system-count = #1 }
}
#})
(system-start-text::print grob)))
#})
%%%%%%%%%%%%%%%%%%%%%%%%%
global = {
\set Score.skipBars = ##t
\key g \major
\time 4/4
% the actual music
\skip 1*8
% let finis bar go through all staves
\override Staff.BarLine.transparent = ##f
% finis bar
\bar "|."
}
discantusIncipit = <<
\new MensuralVoice = "discantusIncipit" <<
\repeat unfold 9 { s1 \noBreak }
{
\clef "neomensural-c1"
\key f \major
\time 2/2
c''1.
}
>>
\new Lyrics \lyricsto discantusIncipit { IV- }
>>
discantusNotes = {
\transpose c' c'' {
\clef "treble"
d'2. d'4 |
b e' d'2 |
c'4 e'4.( d'8 c' b |
a4) b a2 |
b4.( c'8 d'4) c'4 |
\once \hide NoteHead
c'1 |
b\breve |
}
}
discantusLyrics = \lyricmode {
Ju -- bi -- |
la -- te De -- |
o, om --
nis ter -- |
ra, __ om- |
"..." |
-us. |
}
altusIncipit = <<
\new MensuralVoice = "altusIncipit" <<
\repeat unfold 9 { s1 \noBreak }
{
\clef "neomensural-c3"
\key f \major
\time 2/2
r1 f'1.
}
>>
\new Lyrics \lyricsto altusIncipit { IV- }
>>
altusNotes = {
\transpose c' c'' {
\clef "treble"
% two measures
r2 g2. e4 fis g |
a2 g4 e |
fis g4.( fis16 e fis4) |
g1 |
\once \hide NoteHead
g1 |
g\breve |
}
}
altusLyrics = \lyricmode {
% two measures
Ju -- bi -- la -- te |
De -- o, om -- |
nis ter -- ra, |
"..." |
-us. |
}
tenorIncipit = <<
\new MensuralVoice = "tenorIncipit" <<
\repeat unfold 9 { s1 \noBreak }
{
\clef "neomensural-c4"
\key f \major
\time 2/2
r\longa
r\breve
r1 c'1.
}
>>
\new Lyrics \lyricsto tenorIncipit { IV- }
>>
tenorNotes = {
\transpose c' c' {
\clef "treble_8"
R1 |
R1 |
R1 |
% two measures
r2 d'2. d'4 b e' |
\once \hide NoteHead
e'1 |
d'\breve |
}
}
tenorLyrics = \lyricmode {
% two measures
Ju -- bi -- la -- te |
"..." |
-us.
}
bassusIncipit = <<
\new MensuralVoice = "bassusIncipit" <<
\repeat unfold 9 { s1 \noBreak }
{
\clef "bass"
\key f \major
\time 2/2
%% incipit
r\maxima
f1.
}
>>
\new Lyrics \lyricsto bassusIncipit { IV- }
>>
bassusNotes = {
\transpose c' c' {
\clef "bass"
R1 |
R1 |
R1 |
R1 |
g2. e4 |
\once \hide NoteHead
e1 |
g\breve |
}
}
bassusLyrics = \lyricmode {
Ju -- bi- |
"..." |
-us.
}
\score {
<<
\new StaffGroup = choirStaff <<
\new Voice = "discantusNotes" <<
\global
\set Staff.instrumentName = #"Discantus"
\incipit \discantusIncipit
\discantusNotes
>>
\new Lyrics = "discantusLyrics" \lyricsto discantusNotes { \discantusLyrics }
\new Voice = "altusNotes" <<
\global
\set Staff.instrumentName = #"Altus"
\incipit \altusIncipit
\altusNotes
>>
\new Lyrics = "altusLyrics" \lyricsto altusNotes { \altusLyrics }
\new Voice = "tenorNotes" <<
\global
\set Staff.instrumentName = #"Tenor"
\incipit \tenorIncipit
\tenorNotes
>>
\new Lyrics = "tenorLyrics" \lyricsto tenorNotes { \tenorLyrics }
\new Voice = "bassusNotes" <<
\global
\set Staff.instrumentName = #"Bassus"
\incipit \bassusIncipit
\bassusNotes
>>
\new Lyrics = "bassusLyrics" \lyricsto bassusNotes { \bassusLyrics }
>>
>>
\layout {
\context {
\Score
%% no bar lines in staves or lyrics
\hide BarLine
}
%% the next two instructions keep the lyrics between the bar lines
\context {
\Lyrics
\consists "Bar_engraver"
\consists "Separating_line_group_engraver"
}
\context {
\Voice
%% no slurs
\hide Slur
%% Comment in the below "\remove" command to allow line
%% breaking also at those bar lines where a note overlaps
%% into the next measure. The command is commented out in this
%% short example score, but especially for large scores, you
%% will typically yield better line breaking and thus improve
%% overall spacing if you comment in the following command.
%%\remove "Forbid_line_break_engraver"
}
indent = 6\cm
incipit-width = 4\cm
}
}
|