Arpeggios in polyphonic music: 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 |
m New category |
||
| (One intermediate revision by the same user not shown) | |||
| Line 25: | Line 25: | ||
[[Category:Expressive marks]] | [[Category:Expressive marks]] | ||
[[Category:Snippet]] | |||
Latest revision as of 23:15, 21 November 2025
If you need to attach an arpeggio a chord that is notated as separate voices in polyphonic music, you can create single-node chords and set connectArpeggios = ##t.
N.B. This only works inside a GrandStaff or a PianoStaff.
\version "2.24"
%% http://lsr.di.unimi.it/LSR/Item?id=471
\new PianoStaff
<<
\set PianoStaff.connectArpeggios = ##t
\new Staff
{
<< { <g'>2 \arpeggio } \\ { c'2 } \\ { e'2 } >>
<< { <g'>2 \arpeggio } \\ { <c'>2 \arpeggio } \\ { e'2 } >>
}
\new Staff
{
\clef bass
<< { g1 } \\ { <c>1 \arpeggio } \\ { e1 } >>
}
>>