Indicating cross-staff chords with a bracket: Difference between revisions
Appearance
Import snippet from LSR |
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series Tags: Mobile edit Mobile web edit |
||
| Line 3: | Line 3: | ||
(Debussy, ''Les collines d'Anacapri,'' m. 65) | (Debussy, ''Les collines d'Anacapri,'' m. 65) | ||
<lilypond version="2.24 | <lilypond version="2.24"> | ||
\new PianoStaff << | \new PianoStaff << | ||
\set PianoStaff.connectArpeggios = ##t | \set PianoStaff.connectArpeggios = ##t | ||
Revision as of 18:53, 16 November 2025
An arpeggio bracket can indicate that notes on two different staves are to be played with the same hand. In order to do this, the PianoStaff must be set to accept cross-staff arpeggios and the arpeggios must be set to the bracket shape in the PianoStaff context.
(Debussy, Les collines d'Anacapri, m. 65)
\version "2.24"
\new PianoStaff <<
\set PianoStaff.connectArpeggios = ##t
\override PianoStaff.Arpeggio.stencil =
#ly:arpeggio::brew-chord-bracket
\new Staff {
\relative c' {
\key b \major
\time 6/8
b8-.(\arpeggio fis'-.\> cis-.
e-. gis-. b-.)\!\fermata^\laissezVibrer \bar "||"
}
}
\new Staff {
\relative c' {
\clef bass
\key b \major
<<
{
<a e cis>2.\arpeggio
}
\\
{
<a, e a,>2.
}
>>
}
}
>>