]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/indicating-cross-staff-chords-with-arpeggio-bracket.ly
Rerun scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / Documentation / snippets / indicating-cross-staff-chords-with-arpeggio-bracket.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.17.6"
8
9 \header {
10   lsrtags = "keyboards, real-music"
11
12   texidoc = "
13 An arpeggio bracket can indicate that notes on two different staves are
14 to be played with the same hand. In order to do this, the
15 @code{PianoStaff} must be set to accept cross-staff arpeggios and the
16 arpeggios must be set to the bracket shape in the @code{PianoStaff}
17 context.
18
19
20 (Debussy, Les collines d’Anacapri, m. 65)
21
22 "
23   doctitle = "Indicating cross-staff chords with arpeggio bracket"
24 } % begin verbatim
25
26
27 \new PianoStaff <<
28   \set PianoStaff.connectArpeggios = ##t
29   \override PianoStaff.Arpeggio.stencil = #ly:arpeggio::brew-chord-bracket
30   \new Staff {
31     \relative c' {
32       \key b \major
33       \time 6/8
34       b8-.(\arpeggio fis'-.\> cis-. e-. gis-. b-.)\!\fermata^\laissezVibrer
35       \bar "||"
36     }
37   }
38   \new Staff {
39     \relative c' {
40       \clef bass
41       \key b \major
42       <<
43         {
44           <a e cis>2.\arpeggio
45         }
46         \\
47         {
48           <a, e a,>2.
49         }
50       >>
51     }
52   }
53 >>