1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
6 lsrtags = "expressive-marks, keyboards, template"
9 Muchas partituras de piano tienen las indicaciones dinámicas
10 centradas entre los dos pentagramas. Esto requiere un poco de
11 trucaje, pero puesto que la plantilla está aquí mismo, no tenemos
12 que hacer este trucaje por nuestra cuenta.
15 doctitlees = "Plantilla de piano con matices centrados"
18 In der meisten Klaviernotation werden die Dynamikzeichen zwischen
19 den beiden Systemen zentriert. Für LilyPond muss man die Einstellungen
20 etwas anpassen, aber Sie können ja das angepasste Beispiel von hier
25 Many piano scores have the dynamics centered between the two staves.
26 This requires a bit of tweaking to implement, but since the template is
27 right here, you don't have to do the tweaking yourself.
30 doctitle = "Piano template with centered dynamics"
38 upper = \relative c'' {
53 s2\sustainOn s\sustainOff
57 \new PianoStaff = "PianoStaff_pf" <<
58 \new Staff = "Staff_pfUpper" << \global \upper >>
59 \new Dynamics = "Dynamics_pf" \dynamics
60 \new Staff = "Staff_pfLower" << \global \lower >>
61 \new Dynamics = "pedal" \pedal
65 % define Dynamics context
67 \type "Engraver_group"
70 \consists "Output_property_engraver"
71 \consists "Piano_pedal_engraver"
72 \consists "Script_engraver"
73 \consists "New_dynamic_engraver"
74 \consists "Dynamic_align_engraver"
75 \consists "Text_engraver"
76 \consists "Skip_event_swallow_translator"
77 \consists "Axis_group_engraver"
79 pedalSustainStrings = #'("Ped." "*Ped." "*")
80 pedalUnaCordaStrings = #'("una corda" "" "tre corde")
81 \override DynamicLineSpanner #'Y-offset = #0
82 \override TextScript #'font-size = #2
83 \override TextScript #'font-shape = #'italic
84 \override VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 1)
86 % modify PianoStaff context to accept Dynamics context
95 \new PianoStaff = "PianoStaff_pf" <<
96 \new Staff = "Staff_pfUpper" << \global \upper \dynamics \pedal >>
97 \new Staff = "Staff_pfLower" << \global \lower \dynamics \pedal >>