2 cpp -P -traditional -o l.ly les-nereides.ly
3 cpp -P -traditional -o l-fake.ly -DFAKE_GRACE les-nereides.ly
7 composer = "ARTHUR GRAY";
8 title = "LES N\\'ER\\'EIDES";
9 subtitle = "THE NEREIDS";
11 piece = "Allegretto scherzando";
12 copyright = "public domain";
13 description = "Natiest piece of competition at http://www.orphee.com/comparison/study.html, see http://www.orphee.com/comparison/gray.pdf";
14 comment = "LilyPond (1.3.93) can't really do this yet, I guess";
26 \skip 2.; \partial 32*24;
33 treble = \context Voice=treble \notes\relative c''{
35 \property Voice.NoteColumn \push #'horizontal-shift = #0
38 \property Voice.Stem \pop #'direction
39 \property Voice.Stem \push #'direction = #1
42 r4 <cis fis a cis> r8.
43 \translator Staff=bass
44 cis,16^2^"m.d."( <fis8 fis,> <e! e,!>
47 \translator Staff=treble
48 \property Voice.Slur \pop #'direction
49 \property Voice.Slur \push #'direction = #1
55 \property Voice.Stem \pop #'direction
58 % maybe we should fake this and put 5/4 in this bar?
62 \property Grace.Stem \pop #'direction
63 \property Grace.Stem \push #'direction = #0
64 %urg, dim. during grace dumps core here
65 %%[a16-5( fis dis] [cis'32 a-1 fis-4 dis] [cis a )fis-2]
66 [a16-5( fis dis] [cis32 a-1 fis-4 dis] [cis a )fis-2]
71 \property Voice.NoteHead \push #'font-size = #-1
72 \property Voice.Stem \push #'font-size = #-1
73 \property Voice.Beam \push #'font-size = #-1
74 \property Voice.TextScript \push #'font-size = #-1
75 \property Voice.Slur \push #'font-size = #-1
76 \property Voice.LocalKey \push #'font-size = #-1
79 \property Voice.Stem \pop #'direction
80 \property Voice.Stem \push #'direction = #0
81 %%[a16^5( fis dis] [cis'32 a-1 fis-4 dis] [cis a )fis-2] s s s
82 [a16^5( fis dis] [cis32 a^1 fis^4 dis] [cis a )fis-2] s % s s
84 \property Voice.NoteHead \pop #'font-size
85 \property Voice.Stem \pop #'font-size
86 \property Voice.Beam \pop #'font-size
87 \property Voice.TextScript \pop #'font-size
88 \property Voice.Slur \pop #'font-size
89 \property Voice.LocalKey \pop #'font-size
94 \property Voice.Stem \pop #'direction
95 \property Voice.Stem \push #'direction = #1
98 <a'8( a,> <gis gis,> <fis fis,> <gis gis,> <fis fis,> )e^" "^1^4^5 r|
99 r<a8( a,> <gis gis,> <fis fis,> <gis gis,> <fis fis,> )e r|
102 trebleTwo = \context Voice=trebleTwo \notes\relative c''{
104 \property Voice.NoteColumn \push #'horizontal-shift = #-1
108 \property Voice.Stem \pop #'direction
109 \property Voice.Stem \push #'direction = #-1
117 %r8 cis4. d4 [<cis8-5-4( e,-1> <b-3 d,-1> |
118 r8 cis4. d4 [<cis8( e,> <b-3 d,-1> |
119 <)a-2 cis,-1>] cis4. d4 [<cis8( e,> <b d,> |
123 bass = \context Voice=bass \notes\relative c{
124 \property Voice.Slur \pop #'details
125 \property Voice.Slur \push #'details =
126 % #'((height-limit . 2.0) (ratio . 0.333) (force-blowfit . 0.5) (beautiful . 1.0))
127 #'((height-limit . 6.0) (ratio . 0.333) (force-blowfit . 1.0) (beautiful . 0.1))
128 \property Voice.Slur \pop #'de-uglify-parameters
129 \property Voice.Slur \push #'de-uglify-parameters =
132 \property Voice.Stem \pop #'direction
133 \property Voice.Slur \push #'direction = #-1
135 r8. e,16-2( [<a8 a,> <b b,>] <cis4 cis,> |
137 \translator Staff=treble
138 \property Voice.Stem \pop #'direction
139 \property Voice.Stem \push #'direction = #-1
140 \property Voice.slurEndAttachment = #'stem
143 \property Voice.slurEndAttachment = ##f
144 \translator Staff=bass
145 \property Voice.Stem \pop #'direction
146 \property Voice.Slur \pop #'y-free
147 \property Voice.Slur \push #'y-free = #0.1
148 r8. cis,,16( <fis8 fis,> <gis gis,>
150 \property Voice.Stem \pop #'length
151 \property Voice.Stem \push #'length = #5
153 \translator Staff=treble
154 \property Voice.Stem \pop #'direction
155 \property Voice.Stem \push #'direction = #-1
157 \translator Staff=bass
158 \property Voice.Stem \pop #'direction
161 \property Voice.Slur \pop #'details
162 \property Voice.Slur \push #'details =
163 #'((height-limit . 2.0) (ratio . 0.333) (force-blowfit . 0.5) (beautiful . 0.5))
164 \property Voice.Stem \pop #'direction
165 \property Voice.Stem \push #'direction = #-1
168 \property Voice.Stem \pop #'direction
169 \property Voice.Stem \push #'direction = #0
171 %urg: staff-change: ! on dis
178 %\grace { s16 s s s s32 s s s s \clef bass; s }
181 s4 s8 s32 s s \clef bass; s
184 \grace { <e,,,32( e,> } <)gis'2 e>
186 \property Voice.Slur \pop #'direction
187 \property Voice.Slur \push #'direction = #1
188 a,8 [e'-5(<)a-2 cis-3>]
189 r b,-5 <e4-3 gis-5 d'>
190 \property Voice.Slur \pop #'direction
191 \property Voice.Slur \push #'direction = #0
195 \property Voice.Slur \pop #'direction
196 \property Voice.Slur \push #'direction = #1
197 [e'(<)a cis>] r b, <e4 gis d'>
198 \property Voice.Slur \pop #'direction
199 \property Voice.Slur \push #'direction = #0
205 bassTwo = \context Voice=bassTwo \notes\relative c{
214 \property Voice.Stem \pop #'direction
215 \property Voice.Stem \push #'direction = #1
216 \property Voice.Slur \pop #'direction
217 \property Voice.Slur \push #'direction = #1
221 middleDynamics = \context Dynamics=middle \notes{
236 s8 s8\mf s4 s4 s8\> s32 s s \!s
239 lowerDynamics = \context Dynamics=lower \notes{
242 s2\sustaindown s8. s16\sustainup s4
244 s2\sustaindown s8. s16\sustainup s4
250 s32\sustaindown s s s
256 s32\sustaindown s s s
259 \property Dynamics.stopSustain = #""
260 s4 s16. s32\sustainup
264 \property Dynamics.stopSustain = #"*"
265 \property Dynamics.stopStartSustain = #"-P"
266 s s\sustainup\sustaindown s s
270 \property Dynamics.stopStartSustain = #""
272 \property Dynamics.stopStartSustain = #"-P"
273 s s\sustainup\sustaindown s s
278 \context PianoStaff <
279 \context Staff=treble <
284 \context Dynamics=middle <
288 \context Staff=bass <
294 \context Dynamics=lower <
302 TimeSignature \push #'style = #"C"
305 \type "Engraver_group_engraver";
307 Generic_property_list = #generic-lyrics-properties
308 \consists "Property_engraver";
309 DynamicsMinimumVerticalExtent = #(cons -3 -3)
311 startSustain = #"Ped."
313 stopStartSustain = #"*Ped."
314 startUnaChorda = #"una chorda"
315 stopUnaChorda = #"tre chorde"
316 % should make separate lists for stopsustain and startsustain
318 \consists "Piano_pedal_engraver";
319 \consists "Script_engraver";
320 \consists "Dynamic_engraver";
321 \consists "Text_engraver";
322 %GURGURGU, text is initialised using TextScript
323 TextScript \push #'style = #"italic"
324 TextScript \push #'font-size = #2
325 \consists "Skip_req_swallow_translator";
327 \consistsend "Axis_group_engraver";
332 TextScript \push #'style = #"italic"
337 % aarg, also separates Dynamics context...
338 %VerticalAlignment \push #'threshold = #'(12 . 12)
339 %VerticalAlignment \pop #'threshold
340 VerticalAlignment \push #'threshold = #'(1 . 10)
344 Stem \push #'flag-style = #""