You can specify an arpeggio sign on a chord by attaching an
\arpeggio
to a chord:
<c e g c>\arpeggio
When an arpeggio crosses staves, you attach an arpeggio to the chords
in both staves, and set
PianoStaff.connectArpeggios
:
\context PianoStaff << \property PianoStaff.connectArpeggios = ##t \new Staff { <c' e g c>\arpeggio } \new Staff { \clef bass <c,, e g>\arpeggio } >>
The direction of the arpeggio is sometimes denoted by adding an
arrowhead to the wiggly line. This can be typeset by setting
arpeggio-direction
:
\context Voice { \property Voice.Arpeggio \set #'arpeggio-direction = #1 <c e g c>\arpeggio \property Voice.Arpeggio \set #'arpeggio-direction = #-1 <c e g c>\arpeggio }
A square bracket on the left indicates that the player should not
arpeggiate the chord. To draw these brackets, set the
molecule-callback
property of Arpeggio
or
PianoStaff.Arpeggio
objects to \arpeggioBracket
, and use
\arpeggio
statements within the chords as before:
\property PianoStaff.Arpeggio \override #'molecule-callback = \arpeggioBracket <c' e g c>\arpeggio
\arpeggioBracket
,
\arpeggio
.
It is not possible to mix connected arpeggios and unconnected arpeggios in one PianoStaff at the same time.
This page is for LilyPond-2.0.1 (stable-branch).