2 Composer
="Sergej Rachmaninov (1873-1943)";
4 Subtitle
="À Monsieur A. Arensky";
6 Note
="Small fragment to show Pedal and Dynamics problems";
12 % How to remove dynamics from Voice/Staff, but still show fingering?
13 % When Dynamic_engraver is removed, the Text_engraver happily engraves
14 % the dynamic markings.
15 % When the Text_engraver is removed, it can't engrave the fingerings.
23 upperMusic
= \context Voice
\notes\relative c'' {
30 upperDynamics
= \context Voice
\notes {
37 upperFingering
= \context Voice
\notes {
44 lowerMusic
= \context Voice
\notes\relative c {
46 <es,8(es,> bes' ges' es' bes' es, ges,)bes,
47 <es,8(es,> bes' ges' es' bes' es, ges,)bes,
48 <es,8(es,> bes' ges' es' bes' es, ges,)bes,
51 lowerPedal
= \context Voice
\notes {
54 s8\unachorda\sustaindown s8 s4 s2
55 s8\sustaindown\sustainup s8 s4 s2
56 s8\sustaindown\sustainup s8 s4 s2\trechorde
59 lowerDynamics
= \context Voice
\notes {
63 lowerFingering
= \context Voice
\notes {
65 s8 s8-
5 s-
2 s-
1 s-
2 s-
1 s-
2 s
72 \context UpperStaff
=upper
<
79 \context LowerStaff
=lower
<
93 \remove "Piano_pedal_engraver";
94 \remove "Dynamic_engraver";
96 \remove "Text_engraver";
101 \consists "Dynamic_engraver";
102 dynamicPadding
= #3 % urg, in \pt
103 dynamicMinimumSpace
= #6 % urg, in \pt
108 \consists "Piano_pedal_engraver";
109 startSustain
= #"Ped."
111 stopStartSustain
= #"-P"
112 startUnaChorda
= #"una chorda"
113 stopUnaChorda
= #"tre chorde"
114 textScriptPadding
= #3.0
118 \accepts "UpperStaff";
119 \accepts "LowerStaff";
123 timeSignatureStyle
= #"C"
138 \accepts "UpperStaff";
139 \accepts "LowerStaff";