]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/arpeggio.ly
d1667106e19cfcef1aba69ed1fdcb2c0b9ba08f3
[lilypond.git] / input / regression / arpeggio.ly
1 #(ly:set-option 'old-relative)
2 \version "1.9.0"
3 \header{
4 texidoc="
5 Arpeggios are supported, both cross-staff and broken single staff.
6 "
7 }
8
9
10
11 \score{
12     \context PianoStaff < 
13          \context Staff=one \notes\relative c''{
14             \context Voice << fis,  d a >>-\arpeggio
15             \property Staff.Arpeggio \override #'arpeggio-direction = #1 
16             \context Voice << fis,  d a >>-\arpeggio        
17              %%\property PianoStaff.SpanArpeggio \override #'connect = ##t
18              \property PianoStaff.connectArpeggios = ##t
19              <<fis, a c>>-\arpeggio
20           }
21          \context Staff=two \notes\relative c{
22              \clef bass
23             \context Voice << g b d   >>-\arpeggio
24             \property Staff.Arpeggio \override #'arpeggio-direction = #-1           
25             \context Voice << g b d   >>-\arpeggio          
26              <<g b d>>-\arpeggio
27          }
28     >
29     \paper { raggedright= ##t }
30 }