]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/indicating-cross-staff-chords-with-arpeggio-bracket.ly
Imported Upstream version 2.19.45
[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.di.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.18.0"
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 \new PianoStaff <<
27   \set PianoStaff.connectArpeggios = ##t
28   \override PianoStaff.Arpeggio.stencil = #ly:arpeggio::brew-chord-bracket
29   \new Staff {
30     \relative c' {
31       \key b \major
32       \time 6/8
33       b8-.(\arpeggio fis'-.\> cis-. e-. gis-. b-.)\!\fermata^\laissezVibrer
34       \bar "||"
35     }
36   }
37   \new Staff {
38     \relative c' {
39       \clef bass
40       \key b \major
41       <<
42         {
43           <a e cis>2.\arpeggio
44         }
45         \\
46         {
47           <a, e a,>2.
48         }
49       >>
50     }
51   }
52 >>