I'm trying to typeset the glissando shown below using Lilypond:
There are examples in the docs but they weren't helpful.
My code:
\version "2.24.0"
upper = \relative{
\clef treble
\key c \major
\time 5/4
\override VoiceFollower.style = #'zigzag
<c'' e fis a>2.\glissando
\change Staff = "lower"
<a,,, a'>4
\change Staff = "upper"
}
lower = \relative{
\clef bass
\key c \major
\time 5/4
<a c e>2. \skip 4 r4
}
\score {\new PianoStaff <<
\new Staff = "upper" \upper
\new Staff = "lower" \lower
>>
\layout {}
\midi { }
}
gives me:
How do I fix this?