]> git.donarmstrong.com Git - lilypond.git/blob - input/standchen.ly
release: 0.0.31
[lilypond.git] / input / standchen.ly
1 % standchen.ly
2 %
3 % St\"andchen (Serenade) "Leise flehen meine Lieder" D.957 No.4
4 % Franz Schubert (1797-1828)
5 % Text by Ludwig Rellstab (1799-1860)
6 %
7 % Copyright (c) 1995,1996,1997 Jan Nieuwenhuizen <jan@digicash.com>
8
9 % The purpose of this file is to demonstrate features of LilyPond.
10 % (there is an accompanying LaTeX file, standchen.tex)
11 %
12 % comments with # note missing stuff
13 % heu, make that %#%
14 %
15 % thanks to \music "2" group changing, all notes 
16 % (except for grace notes) are printed
17 %
18
19 %#%%
20 %#%\title{St\"andchen}
21 %#%\subtitle{Serenade}
22 %#%%
23 %#%\composer{Franz Schubert}
24 %#%\tempo{M\"a\ss ig}
25 %#%%
26 %#%\meter{3/4}
27 %#%\key\F
28 %#%\clef\treble
29 %#%%
30 %#%\barnumbering5
31 %#%%\staffnumbers
32 %#%\barnumberstyle\boxed
33 %#%%
34 %#%\staffseparation{12}
35 %#%%
36 %#%\duration8
37 %%1
38 melodie = music { $ 
39         \duration{ 8 }
40         r_"\pp" { [ d `a-| } f-| { d `a-| } f-| { d `a-| ] } |
41 %%2
42         r { [ d `bes-| } f-| { d `bes-| } f-| { d `bes-| ] } |
43 %%3
44         \textstyle "italic"
45         r_"simile" { [ d `bes } e { d `bes } e { d `bes ] }
46         \textstyle "roman" |
47 %%4
48         r { [ `a cis } e { `a cis } e { `a cis ] } |
49 %#%:|
50 %%5
51         \plet{ 2/3 } [ a()bes a ] \plet{ 1/1 } 'd4. a |
52 %%6
53         \plet{ 2/3 } [ g()a g ] \plet{ 1/1 } 'd4 a r |
54 %#%\tighten
55 %#%\newline
56 %%7
57         a4.^> g \plet{ 2/3 } [ g( f )e ] \plet{ 1/1 } |
58 %%8
59         f2 r4 |
60 %%9
61         { \music{ 'a4.( )'g \plet{ 2/3 } [ 'g( 'f )'e ] \plet{ 1/1 } }
62           \music{ 'cis4. 'e_"dolce" \plet{ 2/3 } 'e \plet{ 1/1 } } } |
63 %%10
64         { 'f2. 'd2. } |
65 %%11
66         \plet { 2/3 } [ a_"\pp"( )bes a ] \plet { 1/1 } 'f4. a |
67 %%12
68         \plet { 2/3 } [ g( ) a g ] \plet { 1/1 } 'e4. 'd |
69 %%13
70         'c4. bes \plet { 2/3 } [ bes( ) a g ] \plet { 1/1 } |
71 %%14
72         a2 r 
73         { \music{ 'd( | )'c4. g \plet { 2/3 } [ bes a g ] \plet { 1/1 } }
74           \music{ f_"\p"( | )e4._"dolce" bes \plet { 2/3 } [ g ] \plet { 1/1 } } } |
75 %%16
76         { a2. f2. } |
77 %%17
78         \textstyle "italic"
79         [ a8._"cresc." 'cis16 ] 'f4. 'e
80         \textstyle "roman" |
81 %%18
82         [ 'd8. a16 ] f4. d |
83 %%19
84 %#%     'c\grace\stemup
85         \plet { 2/3 } [ bes_"\pp"( ) a bes ] \plet { 1/1 } 'd4. bes |
86 %%20
87         a2. |
88 %%21
89 %#%     a\grace
90         \plet { 2/3 } [ g( )fis g ] \plet { 1/1 } bes4.^> g |
91 %%22
92 %#%     =f2. |
93         f2. |
94 %%23
95         [ a8._"\mf" 'cis16 ] 'f4. 'e |
96 %%24
97         [ 'd8. a16 ] fis4. d |
98 %%25
99 %#%     'cis\grace\stemup
100         \plet { 2/3 } [ b_"\mf"( ) ais b ] \plet { 1/1 }        'd4. b |
101 %%26
102         { a2. fis2. } |
103 %#%\tighten\newline
104 %%27
105         \plet { 2/3 } [ 'e_"\f"( )'dis 'e ] \plet { 1/1 } 'g4. 'cis |
106 %%28
107         { 'd2. fis2. } |
108 %#%\volta1
109 %%29
110         { \music { bes2( [ 'd8.( ))g16 ] } \music{ g2_"\mf" [ bes8. bes16 ] } } |
111 %%30
112         { \music{ a4. [ a-. a-. a-. ] } \music{ fis4. [ f-.( f-. )f-. ] } } |
113 %%31  
114         { \music{ a4. [ a-. a-. a-. ] } \music{ g4. [ cis-.( e-. )g-. ] } } |
115 %%32
116         { a2 fis2_"\pp" } { a4 fis4 } |
117 %%33
118 %#%     { b2(^ g2 } [v { 'd8.( b8. } { b16 ) ) g16 } ] |
119         { \music{ b2( [ 'd8.( ) )g16 ] } \music{ g2 [ b8. b16 ] } } |
120 %%34
121 %#%     { a4. fis4. } [ { a-. fis-.( } { a-. fis-. } { a-. ) fis-. } ] |
122 %       { a4. fis4. } { [ a-. fis-. } { a-. fis-. } { a-. fis-. ] } |
123         { \music{ a4. [ a-. a-. a-. ] } \music{ fis4. [ fis-.( fis-. )fis-. ] } } |
124 %%35
125 %#%     { a4. g4. } [ { a cis-.( } { a e-. } { a )- g-. } ] |
126 %       { a4. g4. } { [ a cis-. } { a e-. } { a g-. ] } |
127         { \music{ a4. [ a-. a-. a-. ] } \music{ g4. [ cis-.( e-. )g-. ] } } |
128 %%36
129         { a2. fis2. } |
130 %#%\volta2
131 %#%:|
132 %%37
133         [ a8. a16 ] [ 'cis8. 'cis16 ] [ 'e8. 'e16 ] |
134 %%38
135         'd4( )'cis4 r4 |
136 %%39
137 %#%     > a4. [ 'cis 'e8. >! 'd16 ] |
138         a4. [ 'cis 'e8. 'd16 ] |
139 %%40
140         'cis2 r4 |
141 %%41
142 %#%     { > 'fis4. 'cis4._f } 'e [ 'e( ) 'd >! 'cis ] \plet { 1/1 } |
143         { 'fis4. 'cis4._"\f" } 'e \plet { 2/3 } [ 'e( )'d 'cis ] \plet { 1/1 } |
144 %%42
145         [ b8. 'cis16 ] 'd4^> b r |
146 %%43
147 %#%     [^ { b8._{ }_{ }_{ }_{ }_{ }_f g2. } 'cis16 ] 'd4^> b r |
148         [ b8._"\f" 'cis16 ] 'd4^> b r |
149 %%44
150 %#%     [^ { > b8. fis2 } 'cis16 ] 'd4^> b >! r |
151         [ b8. 'cis16 ] 'd4^> b r |
152 %%45
153 %#%     'cis\grace\stemup
154         \plet { 2/3 } [ b_"\p"( )ais b ] \plet { 1/1 } 'd4. b |
155 %%46
156 %#%     { =a2. fis2. } |
157         { a2. fis2. } |
158 %%47
159         \plet { 2/3 } [ 'e_"\f"( )'dis 'e ] \plet { 1/1 } 'g4.^> 'cis |
160 %%48
161 %#%     { fis2.(v ='d2.\stemup(^ }
162 %       { fis2. 'd2. } |
163 %%49
164 %#%     { ) 'd4 ) =f2._> } { r4 s4_{decr} } 'd4\stemup
165         \textstyle "italic"
166         { \multivoice \music{ \stem{ 1 } fis2.( | \stem{ -1 } )f2. } \music  { \stem{ 1 } 'd2.( | \stem{ 1 } )'d4 r4_"decresc." 'd4 } }
167         \textstyle "roman" |
168 %%50
169         { bes2. e2. } |
170 %%51
171         { a2. cis2. } |
172 %%52
173         { fis2 d2 } { a4 f4_"\pp" } |
174 %%53
175 %#%     { bes2 g2 } [ { 'd8.^>( bes8. } { ) bes16 g16 } ] |
176         { bes2 g2 } { [ 'd8.^> bes8. } { bes16 g16 ] } |
177 %%54
178 %#%     { a4. fis4. } [ { a-. fis-.( } { a-. fis-. } { a-. ) fis-. } ] |
179 %       { a4. fis4. } { [ a-. fis-. } { a-. fis-. } { a-. fis-. ] } |
180         { \music{ a4. [ a-. a-. a-. ] } \music{ fis4. [ fis-.( fis-. )fis-.] } } |
181 %%55
182 %#%     { a4. g4. } [ { a cis-.( } { a e-. } { a )- g-. } ]  |
183 %       { a4. g4. } { [ a cis-. } { a e-. } { a g-. ] } |
184         { \music{ a4. [ a-. a-. a-. ] } \music{ g4. [ cis-.( e-. )g-. ] } } |
185 %%56
186         \textstyle "italic"
187         { a2. fis2._"dim." }
188         \textstyle "roman" |
189 %%57
190         { a2. fis2. } |
191 %%58
192         { a2.^\fermata fis2. } |
193 %#%\tighten
194 $ }
195
196 begeleiding = music { $
197         \duration{2}
198         `d r4
199 %%2
200         ``bes r4
201
202 %%3
203         ``g r4
204
205 %%4
206         ``a r4
207 %#%:|
208 %%5
209 %#%\stemlength2
210 \duration{ 8 }
211 %#%     { =`f `d2 } `a d `a { d r4 } `a
212         { \multivoice \music{ \stem{1}[ `f `a d `a d `a ] } \music  { \stem{ -1 } `d2 r4 } } |
213 %%6
214         { \multivoice \music{\stem{1} [ `d `e `g `e `g `e ] } \music { \stem{ -1 } ``bes2 r4 } } |
215 %%7 
216 % this (one note missing) fails with assertion:
217 % lilypond: src/beam.cc:144: void Beam::set_grouping(struct Rhythmic_grouping,
218 % struct Rhythmic_grouping): Assertion `cur.children.size() == stems.size()' failed.
219
220 %% seems fixed now, HWN
221 %       { \multivoice \music{ \stem{1}[ `cis `e `g `e `g ] } \music { \stem{ -1 } ``a2 r4 } } |
222         { \multivoice \music{\stem{1} [ `cis `e `g `e `g e ] } \music { \stem{ -1 } ``a2 r4 } } |
223 %%8
224         { \multivoice \music{ \stem{1}[ `d `a d `a d `a ] } \music { \stem{ -1 } `d2 r4 } } |
225 %%9
226         [ `a e f e f e ] |
227 %%10
228         [ `d `a d `a d `a ] |
229 %%11
230         { \multivoice \music{ \stem{1} [ `f `a d `a d `a ] } \music  { \stem{ -1 } `d2 r4 } } |
231 %%12 == 6
232         { \multivoice \music{ \stem{1}[ `d `e `g `e `g `e ] } \music  { \stem{ -1 } ``bes2 r4 } } |
233 %13
234         { \multivoice \music{ \stem{1}[ `e `e `g `e `g `e ] } \music  { \stem{ -1 } ``bes2 r4 } } |
235 %%14
236         { \multivoice \music{ \stem{1}[ `a c f c f c ] } \music  { \stem{ -1 } `f2 r4 } } |
237 %%15
238         [ `c `g `bes `g `bes `g ] |
239 %%16
240         [ ``f `c `f `c `f `c ] |
241 %%17
242         { \multivoice \music{ \stem{1}[ ``a `e `g `e `g `e ] } \music  { \stem{ -1 } ``a2 r4 } } |
243 %%18
244         { \multivoice \music{ \stem{1}[ `d `a d `a d `a ] } \music  { \stem{ -1 } `d2 r4 } } |
245 %%19
246         { \multivoice \music{ \stem{1}[ ``bes `f `bes `f `bes `f ] } \music  { \stem{ -1 } ``bes2 r4 } } |
247 %%20
248         { \multivoice \music{ \stem{1}[ ``f `c `f `c `f `c ] } \music  { \stem{ -1 } ``f2 r4 } } |
249 %%21
250 %#%     s8               % skip space of grace note
251         { [ `e `c } `g c `g c `g ] |
252 %%22
253         [ `f `a c `a `f `c ] |
254 %%23
255         { \multivoice \music{ \stem{1}[ ``a `e `g `e `g `e ] } \music  { \stem{ -1 } ``a2 r4 } } |
256 %%24
257         { \multivoice \music{ \stem{1}[ `d `fis `a `fis `a `fis ] } \music  { \stem{ -1 } `d2 r4 } } |
258 %%25
259 %#%     s8               % skip space of grace note
260         { \multivoice \music{ \stem{1}[ ``g `d `b `d `b `d ] } \music  { \stem{ -1 } ``g2 r4 } } |
261 %%26
262         { \multivoice \music{ \stem{1}[ `d `a d `a d `a ] } \music  { \stem{ -1 } `d2 r4 } } |
263 %%27
264         { [ `cis ``a } `e `a `e `a `e ] |
265 %%28
266         [ `d `a d `a d `a ] |
267 %%29
268 %#%     [ `d `g @ `bes `g `bes `g ] |
269         [ `d `g `bes `g `bes `g ] |
270 %#%\volta1
271 %%30 
272         [ `d `fis `a `fis `a `fis ] |
273 %%31
274         [ `a `e `a `e `a `e ] |
275 %%32
276         [ `d `fis `a `fis `a `fis ] |
277 %%33
278         [ `d `g `b `g `b `g ] |
279 %%34
280         [ `d `fis `a `fis `a `fis ] |
281 %%35
282         [ `a `e `a `e `a `e ] |
283 %%36
284         [ `d `fis `a `fis `a `fis ] |
285 %#%\volta2
286 %#%:|
287 %%37
288         [ `a `e `g `e ``bes^> `e ] |
289 %%38
290         [ `a { e cis `a } { e cis `a } { e cis `a } { e cis `a } { e cis `a ] }  |
291 %%39
292         [ `a `e `g `e ``bes^> `e ] |
293 %%40
294         [ `a { e cis `a } { e cis `a } { e cis `a } { e cis `a } { e cis `a ] }  |
295 %%41
296         [ `ais `e `gis `e `gis `e ] |
297 %%42
298         { [ `d ``b } `fis `b `fis `b `fis ] |
299 %%43
300         { [ `e ``b } `g `b `g `b `g ] |
301 %%44
302         { [ `d ``b } `fis `b `fis `b `fis ] |
303 %%45
304 %#%     s8               % skip space of grace note
305         { \multivoice \music{ [ ``g `d `b `d `b `d ] } \music  { \stem{ -1 } ``g2 r4 } } |
306 %%46
307         { \multivoice \music{ [ `d `a d `a d `a ] } \music  { \stem{ -1 } `d2 r4 } } |
308 %%47
309         { [ `cis ``a } `e `a `e `a `e ] |
310 %%48
311         [ `d `fis `a `fis `a `fis ] |
312 %%49
313         [ `d `a d `a d `a ] |
314 %%50
315         [ ``g `e `g `e `g `e ] |
316 %%51
317         [ `a `e `g `e `g `e ] |
318 %%52
319         [ ``d `d `fis `d `fis `d ] |
320 %%53
321         [ `d `g `bes `g `bes `g ] |
322 %%54
323         [ `d `fis `a `fis `a `fis ] |
324 %%55
325         [ `a `e `g `e `g `e ] |
326 %%56
327         [ ``d ``a `d ``a `d ``a ] |
328 %%57
329         [ ``d ``a `d ``a `d ``a ]
330 %%58
331         { `d2.^\fermata ``d2. } |
332 $ }
333
334
335 tekst1 = music {
336         @
337         \duration{4}
338         _ _ _
339         _ _ _
340         _ _ _
341         _ _ _
342 % 5
343         \plet{ 2/3 } Lei- se8 \plet{ 1/1 } fleh-4. en8 
344         \plet{ 2/3 } mei- ne8 \plet{ 1/1 } Lie- der8 _8
345         Durch4. die8 \plet{ 2/3 } Nacht zu8 \plet{ 1/1 } 
346         dir;2 _        
347         _ _ _ 
348         _ _ _
349 % 11
350         \plet{ 2/3 } In den8 \plet{ 1/1 } stil-4. len8 
351         \plet{ 2/3 } Hain her-8 \plet{ 1/1 } nie-4. der,8
352         Lieb4. chen,8 \plet{ 2/3 } komm zu8 \plet{ 1/1 } 
353         mir!2 _
354         _ _ _ 
355         _ _ _
356
357 % 17
358         Fl\"us-8. ternd16 schlan-4. ke8 
359         Wip-8. fel16 rau-4. schen8
360         \plet{ 2/3 } In des8 \plet{ 1/1 } Mon-4. des8 
361         Licht;2.
362         _ _ _ 
363         _ _ _
364
365 % 23
366         Des8. Ver-16 r\"a-4. ters8 
367         feind-8. lich16 Lau-4. schen8
368         \plet{ 2/3 } F\"urch- te,8 \plet{ 1/1 } Hol-4. de,8 
369         nicht.2.
370         _ _ _ 
371         _ _ _
372
373 % volta 1
374 % 29
375         _ _ _ _ _ _
376         _ _ _ _ _ _
377         _ _ _ _ _ _
378         _ _ _ _ _ _
379
380 % volta 2
381 % 37
382         La\ss8. auch16 dir8. die16 Brust8. be-16
383         we- gen, _
384         Lieb-4. chen,8  h\"o-8. re16 
385         mich!2 _
386         Be-8. bend16 harr' ich8 _8
387         dir8. ent-16 ge- gen!8 _8
388         \plet{ 2/3 } Komm, be-8 \plet{ 1/1 } gl\"u4. cke8 
389         mich!2.
390         _ _ _ _ _ _
391 % 47
392         _ _ _ _ _ _
393         _ _ _ _ _ _
394         _ _ _ _ _ _
395         _ _ _ _ _ _
396         _ _ _ _ _ _
397 % 57
398         _ _ _ _ _ _ 
399         @
400 }
401
402 tekst2 = music {
403         @
404         \duration{4}
405         _ _ _
406         _ _ _
407         _ _ _
408         _ _ _
409 % 5
410         \plet{ 2/3 } H\"orst die8 \plet{ 1/1 } Nach-4. ti-8 
411         \plet{ 2/3 } gal- len8 \plet{ 1/1 } schla- gen?8 _8
412         Ach!4. sie8 \plet{ 2/3 } fleh- en8 \plet{ 1/1 } 
413         dich,2 _
414         _ _ _ 
415         _ _ _
416
417 % 11
418         \plet{ 2/3 } Mit der8 \plet{ 1/1 } T\"o-4. ne8
419         \plet{ 2/3 } s\"u\ss- en8 \plet{ 1/1 } Kla-4. gen8
420         Fleh-4. en8 \plet{ 2/3 } sie f\"ur8 \plet{ 1/1 }
421         mich.2 _
422         _ _ _ 
423         _ _ _
424
425 % 17
426         Sie-8. ver-16 stehn4. des8
427         Bus-8. ens16 Seh-4. nen,8
428         \plet{ 2/3 } Ken- nen8 \plet{ 1/1 } Lieb-4. es-8 
429         schmerz,2.
430         _ _ _ 
431         _ _ _
432
433 % 23
434         R\"uh-8. ren16 mit4. den8 
435         Sil-8. ber-16 t\"o-4. nen8
436         \plet{ 2/3 } Jed- es8 \plet{ 1/1 } wei-4. che8 
437         Herz.2.
438         _ _ _ 
439         _ _ _
440           
441 % volta 1
442 % 29
443         _ _ _ _ _ _
444         _ _ _ _ _ _
445         _ _ _ _ _ _
446         _ _ _ _ _ _
447
448 % volta 2
449 % 37
450 %       _ _ _ _ _ _
451 %       _ _ _ _ _ _
452 %       _ _ _ _ _ _
453 %       _ _ _ _ _ _ 
454 %       _ _ _ _ _ _
455 % 47
456 %       _ _ _ _ _ _
457 %       _ _ _ _ _ _
458 %       _ _ _ _ _ _
459 %       _ _ _ _ _ _
460 %       _ _ _ _ _ _
461 % 57
462 %       _ _ _ _ _ _ 
463         @
464 }
465
466 score {
467         staff { 
468                 lyric 
469                 music { tekst1 }
470                 music { tekst2 }
471         }
472         staff { 
473                 melodic 
474                 music { melodie }
475                 commands {
476                         key $bes$
477                         clef "violin"
478                 }
479         }
480         staff { 
481                 melodic 
482                 music { begeleiding }
483                 commands {
484                         key $bes$
485                         clef "bass"
486                 }
487         }
488         commands { 
489                 meter 3*4 
490                 skip 4:0
491                 bar ":|"
492                 skip 32:0
493                 bar ":|"
494                 skip 22:0
495                 bar "||"
496         }
497         paper {
498                 symboltables { table_sixteen }
499                 width 195mm
500                 unitspace 20mm
501 %               unitspace 4.0 cm % leaves all text stand free
502 %               geometric 1.4
503                 output "standchen.out"
504         }
505 }