Hello Eby,

You could do as I’ve done in the appended file. That is basically whenever you 
need a more loose spacing, you do something like
\temporary\override Score.SpacingSpanner.common-shortest-duration =
#(ly:make-moment 1 256)
(where the 1/256 can be anything to your liking, using bigger note values like 
1/8 will result in tighter spacing, using smaller values will result in looser 
spacing.

Note that you could avoid the skips in the rests of the piano voice by scaling 
eighter the lengths of the respective violine notes, or scaling the length of 
the rests (like this: r1 r1*3/2 r1*5/4)

Regards,
Valentin
\version "2.20.0"

global = {
  \key des \major
  \time 4/4
}

violin = \relative c' {
  \global

  \cadenzaOn 
  \temporary\override Score.SpacingSpanner.common-shortest-duration = #(ly:make-moment 1 256)
  aes2\fermata
   
   %%spacerequired

    \magnifyMusic 0.61 {
    g32 \([aes b c d ees b c d ees ges] %%spacerequired

    aes32\) %%spacerequired

    d,!32 \(ees ges aes bes c des ees f ges aes bes]
    }
    %%spacerequired

    c8-.\)

    %%spacerequired

    \magnifyMusic 0.61 {
    aes,,8-^ [c-^ ees-^ aes-^ c-^ ees-^ c-^ ees-^ aes-^ c-^ ees-^]

    %%spacerequired
\ottava #1
\revert Score.SpacingSpanner.common-shortest-duration
\override Script.staff-padding = #2.5 {
   \stemDown  aes2\trill \pp a2\trill bes2\trill c2\trill \fermata } \bar "|"
\override Script.staff-padding = #0
}

\cadenzaOff

des1~
    des2\fermata
\ottava #0
    r \fermata \bar "|."

}

pianoVoice = \relative c'' {
  \global

  \cadenzaOn <ees aes>1\fermata  r1 r s2 r1 s4 \bar"|" \cadenzaOff
f2 (f4-. f-.)
f2\fermata r\fermata \bar "|."
}


violinPart = \new Staff \with {
  instrumentName = "Violin"
  shortInstrumentName = "Vl."
  midiInstrument = "violin"
} \violin


\score {
  <<
    \violinPart
    \pianoVoice
  >>
  \layout { }
}

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to