4 composer = "ARTHUR GRAY"
5 title = "LES N\\'ER\\'EIDES"
6 subtitle = "THE NEREIDS"
8 piece = "Allegretto scherzando"
9 copyright = "public domain"
14 Nastiest piece of competition at
15 http://www.orphee.com/comparison/study.html, see
16 http://www.orphee.com/comparison/gray.pdf
20 #(ly:set-point-and-click 'line-column)
21 #(define (make-text-checker text)
22 (lambda (elt) (equal? text (ly:get-grob-property elt 'text))))
25 treble = \context Voice=treble \notes\relative c''{
30 r4 <<cis eis a cis>>-\arpeggio r2
32 r4 <<cis fis a cis>>-\arpeggio r8.
34 \translator Staff=bass
36 \once\property Voice.TextScript \set #'extra-offset = #'(-3 . -4)
38 cis,16^2-(^\markup {\small \italic "m.d." }
39 <<fis fis,>>8 <<e! e,!>>
43 \translator Staff=treble
46 \property PianoStaff.connectArpeggios = ##t
50 \once\property Voice.TextScript \set #'extra-offset = #'(-3 . -2)
53 cis''''4^\markup { \small \italic "m.g." }-\arpeggio-~
58 \property Voice.Stem \set #'direction = #0
63 cis32-[ a-1 fis-4 dis] cis-[ a fis-)-2]
64 % the small grace in lower staff comes after us
72 r8 <<a' a,>>8-(-\mf <<gis gis,>> <<fis fis,>>
75 \property Voice.Fingering \set #'direction = #1
77 % Manual fix for collision with slur
78 \property Voice.Fingering \set #'extra-offset = #'(0 . 1)
79 <<gis gis,>> <<fis fis,>> e-)-1-4-5 r
82 r <<a a,>>8-(-\mf <<gis gis,>> <<fis fis,>>
83 <<gis gis,>> <<fis fis,>> e-) r
89 trebleTwo = \context Voice=trebleTwo \notes\relative c''{
93 \property Voice.Fingering \set #'direction = #-1
94 \property Voice.Fingering \set #'extra-offset = #'(0 . 1.2)
100 <<cis' a fis dis>>4-\arpeggio
104 %%<<cis e,>>8-[-( <<b-3 d,-1>>
105 <<cis e,>>8-[-( <<b d,>>-3-1
107 %%<<a-2 cis,-1>>-)] cis4. d4
108 <<a cis,>>-)-]-2-1 cis4. d4
109 <<cis e,>>8-[-( <<b d,>>
114 bass = \context Voice=bass \notes\relative c{
118 % Allow ugly (highly blown-up) slurs
119 \property Voice.Slur \override #'beautiful = #5.0
120 \property Voice.Slur \override #'attachment-offset = #'((0 . 3) . (0 . -4))
125 r8. e,16-(-\f_2 <<a a,>>8-[ <<b b,>>]
128 \translator Staff=treble
130 \property Voice.Slur \override #'attachment = #'(stem . stem)
131 <<a'' eis cis>>4-)-\arpeggio
133 \property Voice.Slur \revert #'attachment
134 \translator Staff=bass
137 \property Voice.Slur \revert #'y-free
138 \property Voice.Slur \override #'y-free = #0.1
139 \property Voice.Slur \revert #'attachment-offset
140 \property Voice.Slur \override #'attachment-offset = #'((0 . 3) . (0 . 8))
141 r8. cis,,16( <<fis fis,>>8 <<gis gis,>>
144 \property Voice.Stem \set #'length = #5
146 \translator Staff=treble
148 \property Voice.Stem \revert #'length
149 \property Voice.Stem \revert #'direction
150 \property Voice.Stem \override #'direction = #-1
151 <<a' fis cis>>-)-\arpeggio
152 \translator Staff=bass
153 \property Voice.Stem \revert #'direction
157 \property Voice.Slur \revert #'beautiful
158 \property Voice.Slur \revert #'attachment-offset
164 %urg: staff-change: ! on dis
165 <<cis'' a fis dis!>>-\arpeggio
174 \property Voice.fontSize = #-3
182 \property Voice.Fingering \set #'direction = #-1
184 %%a,8 e'-[-5-(<<a-2 cis-3>>-]-)
185 a,8 e'-[-5-(<<a cis>>-]-)-2-3
186 %%r b,-5 <<e-3 gis-5 d'>>4
187 r b,-5 <<e gis d'>>4-3-5
189 \once \property Voice.Fingering \set #'extra-offset = #'(0 . -1)
193 \once \property Voice.Fingering \set #'extra-offset = #'(0 . -1)
196 e'-[(<<a cis>>-)] r b, <<e gis d'>>4
204 bassTwo = \context Voice=bassTwo \notes\relative c{
215 middleDynamics = \context Dynamics=middle \notes{
216 \property Dynamics.TextScript \set #'padding = #-1
225 \once\property Dynamics.Hairpin \set #'extra-offset = #'(0 . 2)
229 s32 s-"rall." s s s8 s4
232 \once\property Dynamics.Hairpin \set #'extra-offset = #'(1 . 0)
241 lowerDynamics = \context Dynamics=lower \notes{
244 s2-\sustainDown s8. s16-\sustainUp s4
246 s2-\sustainDown s8. s16-\sustainUp s4
249 \property Dynamics.pedalSustainStrings = #'("Ped." "*Ped." "*")
251 % grace destroys pedal-line-spanner?
252 % let's do manual tweak:
253 \once\property Dynamics.SustainPedal \set #'extra-offset = #'(10 . 0)
255 \once\property Dynamics.SustainPedal \set #'extra-offset = #'(16 . 0)
263 s32 s s s-\sustainDown
269 % ugh, I don't think that 'mixed should show last edge, but rather:
271 % Ped__________/\__________ *
273 % that's what gray wants, anyway.
275 \property Dynamics.pedalSustainStyle = #'mixed
277 s s-\sustainUp-\sustainDown s
279 \once \property Dynamics.pedalSustainStyle = #'text
283 \property Dynamics.pedalSustainStyle = #'mixed
285 s s-\sustainUp-\sustainDown s
287 \once \property Dynamics.pedalSustainStyle = #'text
293 \context PianoStaff <
294 \context Staff=treble <
298 \context Dynamics=middle <
301 \context Staff=bass <
306 \context Dynamics=lower <
313 \remove Bar_number_engraver
316 \type "Engraver_group_engraver"
318 \consists "Output_property_engraver"
319 minimumVerticalExtent = #'(-1 . 1)
321 pedalSustainStrings = #'("Ped." "*Ped." "*")
323 \consists "Piano_pedal_engraver"
324 \consists "Script_engraver"
325 \consists "Dynamic_engraver"
326 \consists "Text_engraver"
328 TextScript \override #'font-relative-size = #1
329 TextScript \override #'font-shape = #'italic
331 \consists "Skip_event_swallow_translator"
333 \consistsend "Axis_group_engraver"
339 VerticalAlignment \override #'forced-distance = #7
345 %%% LilyPond-indent-level:4
347 %% new-chords-done %%