Hi Jin,
Am 16.08.23 um 04:48 schrieb Jin Choi:
Is it possible to get this style of s-curve shaped slurs across staves?
It's possible, but it's not fun.
\version "2.24.0"
\new PianoStaff
<<
\new Staff = upper {
<<
{
r8
\shape #'((0 . 0) (4 . -2) (0 . 6) (1 . 3)) Slur
<e' gis'>8_( <dis' fisis'> <e' gis'> \change Staff = lower <e gis>4)
}
\new Voice { s2 r }
>>
}
\new Staff = lower \with { \clef bass } {
cis,4 r s r
}
>>
Slurs live in a single voice (that's something I'm working on, but I
don't have much time for LilyPond work at the moment), so we have to
create one voice that switches to the other staff on the way. Then we
have to adjust the control points manually, a task which is made harder
by the need to manually move the right tip of the slur from "under the
note" to "above the note".
There's definitely room for improvement, both in my example and in
LilyPond proper.
Lukas