Arpeggios in polyphonic music: Difference between revisions
Appearance
Import snippet from LSR |
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 |
||
| Line 3: | Line 3: | ||
N.B. This only works inside a GrandStaff or a PianoStaff. | N.B. This only works inside a GrandStaff or a PianoStaff. | ||
<lilypond version="2.24 | <lilypond version="2.24"> | ||
%% http://lsr.di.unimi.it/LSR/Item?id=471 | %% http://lsr.di.unimi.it/LSR/Item?id=471 | ||
Revision as of 18:53, 16 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 } >>
}
>>