Creating cross-staff arpeggios in a piano staff: Difference between revisions
Appearance
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: | ||
In a <code>PianoStaff</code> | In a <code>PianoStaff</code> it is possible to let an ''arpeggio'' cross between the staves by setting the property <code>PianoStaff.connectArpeggios</code>. | ||
<lilypond version="2.24"> | <lilypond version="2.24"> | ||
| Line 19: | Line 19: | ||
</lilypond> | </lilypond> | ||
[[Category:Expressive marks]] | [[Category:Expressive marks]] | ||
[[Category:Included in the official documentation]] | [[Category:Included in the official documentation]] | ||
[[Category:Snippet]] | |||
Latest revision as of 13:51, 3 December 2025
In a PianoStaff it is possible to let an arpeggio cross between the staves by setting the property PianoStaff.connectArpeggios.
\version "2.24"
\new PianoStaff \relative c'' <<
\set PianoStaff.connectArpeggios = ##t
\new Staff {
<c e g c>4\arpeggio
<g c e g>4\arpeggio
<e g c e>4\arpeggio
<c e g c>4\arpeggio
}
\new Staff {
\clef bass
\repeat unfold 4 {
<c,, e g c>4\arpeggio
}
}
>>