Jump to content

Indicating cross-staff chords with a bracket

From LilyPond wiki
Revision as of 06:19, 10 March 2026 by Lemzwerg (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A non-arpeggiato 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.

The following example typesets measure 65 of Debussy’s prelude Les collines d'Anacapri.

\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. } >>
  }
>>