lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cross-staff arpeggios with a grace note


From: Knute Snortum
Subject: Cross-staff arpeggios with a grace note
Date: Thu, 14 Apr 2022 14:06:59 -0700

I am having trouble with arpeggios and grace notes again.  In this
situation, I have a cross-staff arpeggio of a chord with a grace note
(see attachment).  LilyPond's default is to put the arpeggio and grace
note on top of each other.  Jean taught me the trick of putting the
arpeggio on the grace note and adjusting the arpeggio's length and
position from there, like this:

%%%
\version "2.22.2"

rightHand = {
  e'2
}

leftHand = \relative {
  \clef bass
  <<
    {
      \slashedGrace {
        e8
        \tweak positions #'(-4.5 . 5)
        \tweak extra-spacing-width #'(-1 . 0)
        \tweak X-offset -1
        \arpeggio
      }
      <e gis>2
    }
    \\
    {
      <cis, gis'>2
    }
  >>
}

\new PianoStaff <<
  \new Staff \rightHand
  \new Staff \leftHand
>>
%%%

This almost produces what I want.  The problem is I can't get the
arpeggio to cross into the upper staff.  If you make the arpeggio
higher than a certain amount (that is, \tweak positions #'(-4.5 . 5)
with a cdr of more than 5 or so) the upper staff shies away from the
arpeggio.

Any help getting the arpeggio past the lower part of the upper staff
will be appreciated.

--
Knute Snortum

Attachment: arpeggio-and-grace.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]