Piano template with centered dynamics: Difference between revisions
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series |
mNo edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
Many piano scores have the dynamics centered between the two staves. | Many piano scores have the dynamics centered between the two staves. Using the <code>Dynamics</code> context this is quite easy to achieve. | ||
<lilypond version="2.24"> | <lilypond version="2.24"> | ||
global = { | global = { | ||
\key c \major | \key c \major | ||
| Line 27: | Line 25: | ||
} | } | ||
\new PianoStaff = "PianoStaff_pf" << | |||
\new Staff = "right" << \global \upper >> | |||
\new Dynamics = "dynamics" \dynamics | |||
\new Staff = "left" << \global \lower >> | |||
\new Dynamics = "pedal" \pedal | |||
>> | |||
</lilypond> | </lilypond> | ||
[[Category:Expressive marks]] | |||
[[Category:Keyboards]] | |||
[[Category:Really simple]] | |||
[[Category:Template]] | [[Category:Template]] | ||
[[Category: | [[Category:Snippet]] | ||