Next: , Previous: Pedals, Up: Piano music



4.10.4 Arpeggio

You can specify an arpeggio sign on a chord by attaching an \arpeggio to a chord:

       <c e g c>\arpeggio

[picture of music]

When an arpeggio crosses staves, you attach an arpeggio to the chords in both staves, and set PianoStaff (lilypond-internals).connectArpeggios:

       \context PianoStaff <<
         \property PianoStaff.connectArpeggios = ##t
         \new Staff  { <c' e g c>\arpeggio }
         \new Staff { \clef bass  <c,, e g>\arpeggio }
       >>

[picture of music]

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
       }

[picture of music]

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

[picture of music]

Predefined commands

\arpeggioBracket, \arpeggio.

See also

ArpeggioEvent (lilypond-internals) music expressions lead to Arpeggio (lilypond-internals) objects. Cross staff arpeggios are PianoStaff (lilypond-internals).Arpeggio (lilypond-internals).

Bugs

It is not possible to mix connected arpeggios and unconnected arpeggios in one PianoStaff (lilypond-internals) at the same time.

This page is for LilyPond-2.0.3 (stable-branch).
Report errors to <bug-lilypond@gnu.org>.