Hi Knute,
> I'm running into a programming error in LilyPond 2.24.4 (it happens in
> 2.25.30 also). When I run the code below I get a cyclic dependency
> programming error. It seems to depend on having both a trill span and a
> staff change. It may be related to issue 6598
> (https://gitlab.com/lilypond/lilypond/-/issues/6598). Is there any way
> around this? Is there something I can be doing differently? I can't seem to
> suppress the warning with ly:expect-warning I assume because it's a
> programming error, not an actual warning.
Don’t know how to fix that, unfortunately… but I’m curious why you changed
Staff and then didn’t keep going in that same variable/voice?
This is how I would have coded your snipped:
%%% SNIPPET BEGINS
\version "2.24.4"
global = {
\time 3/4
\key c \minor
}
rightHand = \relative {
\global
g'2.\startTrillSpan |
c4\stopTrillSpan( g16 d b r
\change Staff = "lower" \voiceOne d, b g8-.) |
}
leftHand = \relative {
\global
\clef bass
g2. |
g,4 r8 r16 g'16 s1 |
}
\score {
\new PianoStaff <<
\new Staff = "upper" \rightHand
\new Staff = "lower" \leftHand
>>
}
%%% SNIPPET ENDS
It seems more intuitive/logical to me [because the voice that’s changing staff
stays in the same variable], and the slur and staccato end up looking better
(no collisions).
Just a thought!
Kieren.
__________________________________________________
My work day may look different than your work day. Please do not feel obligated
to read or respond to this email outside of your normal working hours.