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
221 s2 s32 s-"rall." s s s8 s4
224 \once\property Dynamics.Hairpin \set #'extra-offset = #'(1 . 0)
233 lowerDynamics = \context Dynamics=lower \notes{
236 s2-\sustainDown s8. s16-\sustainUp s4
238 s2-\sustainDown s8. s16-\sustainUp s4
241 \property Dynamics.pedalSustainStrings = #'("Ped." "*Ped." "*")
243 % grace destroys pedal-line-spanner?
244 % let's do manual tweak:
245 \once\property Dynamics.SustainPedal \set #'extra-offset = #'(10 . 0)
247 \once\property Dynamics.SustainPedal \set #'extra-offset = #'(16 . 0)
255 s32 s s s-\sustainDown
261 % ugh, I don't think that 'mixed should show last edge, but rather:
263 % Ped__________/\__________ *
265 % that's what gray wants, anyway.
267 \property Dynamics.pedalSustainStyle = #'mixed
269 s s-\sustainUp-\sustainDown s
271 \once \property Dynamics.pedalSustainStyle = #'text
275 \property Dynamics.pedalSustainStyle = #'mixed
277 s s-\sustainUp-\sustainDown s
279 \once \property Dynamics.pedalSustainStyle = #'text
285 \context PianoStaff <
286 \context Staff=treble <
290 \context Dynamics=middle <
293 \context Staff=bass <
298 \context Dynamics=lower <
305 \remove Bar_number_engraver
308 \type "Engraver_group_engraver"
310 \consists "Output_property_engraver"
311 minimumVerticalExtent = #'(-1 . 1)
313 pedalSustainStrings = #'("Ped." "*Ped." "*")
315 \consists "Piano_pedal_engraver"
316 \consists "Script_engraver"
317 \consists "Dynamic_engraver"
318 \consists "Text_engraver"
320 TextScript \override #'font-relative-size = #1
321 TextScript \override #'font-shape = #'italic
323 \consists "Skip_event_swallow_translator"
325 \consistsend "Axis_group_engraver"
331 VerticalAlignment \override #'forced-distance = #7
337 %%% LilyPond-indent-level:4
339 %% new-chords-done %%