他のコンテキストで譜をまたがるアルペジオを作成する

譜をまたがるアルペジオは Span_arpeggio_engraverScore コンテキストに追加されていれば、GrandStaff, PianoStaff, StaffGroup 以外にも作成することができます。

\score {
  \new ChoirStaff {
    \set Score.connectArpeggios = ##t
    <<
      \new Voice \relative c' {
        <c e>2\arpeggio
        <d f>2\arpeggio
        <c e>1\arpeggio
      }
      \new Voice \relative c {
        \clef bass
        <c g'>2\arpeggio
        <b g'>2\arpeggio
        <c g'>1\arpeggio
      }
    >>
  }
  \layout {
    \context {
      \Score
      \consists "Span_arpeggio_engraver"
    }
  }
}

[image of music]


LilyPond snippets v2.25.15 (開発版).