#### 3.10.4 Arpeggio

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 <<
>            \set 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

>          \context Voice {
>            \arpeggioUp
>            <c e g c>\arpeggio
>            \arpeggioDown
>            <c e g c>\arpeggio
>          }

A square bracket on the left indicates that the player should not arpeggiate the chord

>          \arpeggioBracket
>          <c' e g c>\arpeggio

##### Predefined commands

`\arpeggio`, `\arpeggioUp`, `\arpeggioUp`, `\arpeggioBoth`, `\arpeggioBracket`.

##### See also

Program reference: ArpeggioEvent music expressions lead to Arpeggio objects. Cross staff arpeggios are PianoStaff.Arpeggio.

##### Bugs

It is not possible to mix connected arpeggios and unconnected arpeggios in one PianoStaff at the same time.

Read comments on this page, or add one. This page is for LilyPond-2.2.5 (stable-branch).