[icon]

GNU LilyPond

-- --

What is LilyPond
Home
Examples
Templates
Download
GNU/Linux binaries
Windows binaries
Source code
Documentation
Tutorial
Manual
Glossary
Index

Support
Mailing lists
Search
WikiWiki

External sites
lilypond.org/stable
lilypond.org/development
savannah.gnu.org
ftp.lilypond.org
Mutopia
Other music online

Node:Arpeggio, Next:, Previous:Pedals, Up:Piano music



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 in piano music, you attach an arpeggio to the chords in both staves, and set PianoStaff.connectArpeggios.

       \context PianoStaff <
         \property PianoStaff.connectArpeggios = ##t
         \context Voice = one  { <<c' e g c>>-\arpeggio }
         \context Voice = other { \clef bass  <<c,, e g>>-\arpeggio}
       >
     
[picture of music]

This command creates Arpeggio objects. Cross staff arpeggios are PianoStaff.Arpeggio.

To add an arrow head to explicitly specify the direction of the arpeggio, you should set the arpeggio object property 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.

       \context PianoStaff <
         \property PianoStaff.connectArpeggios = ##t
         \property PianoStaff.Arpeggio \override
             #'molecule-callback = \arpeggioBracket
         \context Voice = one  { <<c' e g c>>-\arpeggio }
         \context Voice = other { \clef bass  <<c,, e g>>-\arpeggio }
       >
     
[picture of music]

BUGS

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

Go back to index of LilyPond.

Please send GNU LilyPond questions and comments to lilypond-user@gnu.org.

Please send comments on these web pages to (address unknown)

Copyright (c) 1997--2002 Han-Wen Nienhuys and Jan Nieuwenhuizen.

Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.


This page was built from LilyPond-1.7.14 (development-branch) by

Buchan Milne <(address unknown)>, Thu Mar 6 21:11:35 2003 CET.