Next: , Previous: Glissando, Up: Lines


1.3.3.2 Arpeggio

You can specify an arpeggio sign (also known as broken chord) on a chord by attaching an \arpeggio to the chord:

     
     <c e g c>\arpeggio

[image of music]

A square bracket on the left is used to indicate that the chord should not be arpeggiated:

     
     \arpeggioBracket
     <c e g c>\arpeggio

[image of music]

The direction of the arpeggio can be denoted by adding an arrowhead to the wiggly line. This is done with the commands arpeggioUp and arpeggioDown. arpeggioNeutral reverts to the arrow-less version:

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

[image of music]

Predefined commands

\arpeggio, \arpeggioUp, \arpeggioDown, \arpeggioNeutral, \arpeggioBracket.

Selected Snippets

In a PianoStaff, it is possible to let an arpeggio cross between the staves by setting the property PianoStaff.connectArpeggios.

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

[image of music]

The same can be accomplished in contexts other than PianoStaff if the Span_arpeggio_engraver is included in the Score context.

     
     \score {
       \new StaffGroup {
         \set Score.connectArpeggios = ##t
         <<
           \new Voice \relative c' {
             <e g>4\arpeggio
           }
           \new Voice  \relative c {
             \clef bass
             <c e>4\arpeggio
           }
         >>
       }
       \layout {
         \context {
           \Score
           \consists "Span_arpeggio_engraver"
         }
       }
     }

[image of music]

Similarly, an arpeggio can be drawn across notes in different voices on the same staff if the Span_arpeggio_engraver is moved to the Staff context:

     
     \new Staff
     \with {
       \consists "Span_arpeggio_engraver"
     } \relative c' {
       \set Staff.connectArpeggios = ##t
         <<
         {<e' g>4\arpeggio <d f> <d f>2 }
       \\
       {<d, f>2\arpeggio  <g b>2  }
       >>
     }

[image of music]

See also

Notation Reference: Ties, for writing out arpeggios.

Snippets: Expressive

Internals Reference: Arpeggio, PianoStaff.

Known issues and warnings

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


Next: , Previous: Glissando, Up: Lines

This page is for LilyPond-2.11.40 (development-branch).

Report errors to http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs.

Your suggestions for the documentation are welcome.

Other languages: français, español, deutsch.