]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/arpeggio.ly
patch::: 1.5.7.jcn2
[lilypond.git] / input / regression / arpeggio.ly
1 \version "1.3.146"
2 \header{
3 texidoc="
4 Arpeggios are supported, both cross-staff and broken single staff.
5 Directed arpeggios are indicated by arrows, while a square bracket 
6 to the left prevents arpeggiation. 
7 "
8 }
9
10
11
12 \score {
13      \context PianoStaff < 
14          \context Staff=one \notes\relative c'{
15             \context Voice {
16              < a4 d fis-\arpeggio a >
17              \property Voice.Arpeggio \override #'arpeggio-type = #'bracket
18              < d fis-\arpeggio a d >
19      %%\property PianoStaff.SpanArpeggio \override #'connect = ##t
20              \property PianoStaff.connectArpeggios = ##t
21              <b-\arpeggio d g b>
22              \property PianoStaff.Arpeggio \override #'arpeggio-type = #'bracket
23              <c-\arpeggio e g c>
24              \property PianoStaff.connectArpeggios = ##f
25              \property Voice.Arpeggio \override #'arpeggio-type = #'down
26              <a1-\arpeggio d fis a>
27
28             }
29           }
30          \context Staff=two \notes\relative c {
31              \clef bass
32              \context Voice {
33              r4 r 
34              <d,\arpeggio a' d >
35              <d \arpeggio a' d >
36              \property Voice.Arpeggio \override #'arpeggio-type = #'up
37              <g1 \arpeggio b d g>
38             }
39           }
40     >
41 }