I tried using \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1/64) in the \context \Score, which helps it stretch out a bit, but I'm not sure if there's a way to scheme code something that is more specific per measure or something? Anything would be helpful. Thank you! (Sorry for the long example. I tried to truncate it.)
\version "2.22.1"
up = {
s1 *2 |
\ottava #1
\acciaccatura { dis''' 8 } e''' 8-. < fis'' fis''' > -. <dis'' dis'''>8-. \acciaccatura { dis''' 8 } e''' 8-. <fis'' fis''' > -. <dis'' dis''' > -- ~ <dis'' dis'''> 4
\break
\ottava #0
}
upper = { \change Staff = "up" }
lower = { \change Staff = "down" }
down = {
\lower \stemDown \clef bass <b, dis ais >8\( ^\ff \upper <b' ais'' >-. \)
\shape #'((-0.5 . -7) (0 . 3) (0 . 2 ) (0 . 0)) PhrasingSlur
\lower <e gis dis' >8 \( \upper <d' cis'' >-. \)
\shape #'((-0.5 . -10 ) (0 . 3) (0 . 2 ) (0 . 0)) PhrasingSlur
\lower <b, dis ais >8\( \upper <b' ais'' >-. \)
\shape #'((-0.5 . -7 ) (0 . 3) (0 . 2 ) (0 . 0)) PhrasingSlur
\lower <e gis dis' >8 \( \upper <d' cis'' >-. \)
\lower <b, dis ais >8\( \upper <b' ais'' >-. \)
\shape #'((-0.5 . -7 ) (0 . 3) (0 . 2 ) (0 . 0)) PhrasingSlur
\lower <e gis dis' >8 \( \upper <d' cis'' >-. \)
\shape #'((-0.5 . -10 ) (0 . 3) (0 . 2 ) (0 . 0)) PhrasingSlur
\lower <b, dis ais >8\( \upper <b' ais'' >-. \)
\shape #'((-0.5 . -7 ) (0 . 3) (0 . 2 ) (0 . 0)) PhrasingSlur
\lower <e gis dis' >8 \( \upper <d' cis'' >-. \)
\lower
\clef treble \stemNeutral
\grace {s 8 } < e' dis'' >4. -- < e' dis'' >4. -- r4 |
}
\score {
<<
\new PianoStaff \with {
\override StaffGrouper.staff-staff-spacing = #'(
(basic-distance . 0)
(padding . 20))
}
<<
\new PianoStaff <<
\set PianoStaff.instrumentName = #"Piano"
\new Staff = "up" { \up \autoBeamOff }
\new Staff = "down" { \down }
>>
>>
>>
\layout {
\context
{
\Score
\override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1/64)
}
}
\midi { }
}