ssb22 / jianpu-ly

Jianpu in Lilypond
http://ssb22.user.srcf.net/mwrhome/jianpu-ly.html
Apache License 2.0
77 stars 19 forks source link

How are nested slurs indicated? #66

Open zonewave opened 1 week ago

zonewave commented 1 week ago

I want the following effect
image

I tried to write like this, but only the outermost slur is displayed


2 3  4  (  5  (  5 ) )
ssb22 commented 1 week ago

That's not a nested slur, it's a tie inside a slur. There are 3 reasons why it's important to tell Lilypond that the tie is a tie not a slur:

  1. In professional music printing, ties are printed slightly differently from slurs (the curvature is slightly less),
  2. In the MIDI output we want the note to be held over and not repeated,
  3. If we later add lyrics, we want the tied note to count as just one word.

Use ~ for ties, or use - instead of the second 5 (jianpu-ly knows to change - after a barline into a repeat of the number with a tie)

ssb22 commented 1 week ago

so it's q1 q1 ~ 1 s6, ( s1 ) q2 s2 ( s3 ) s4 s5 ~ 5 - q0 s5 ( s6 q5 ) s5 ( s3 ) etc

zonewave commented 19 hours ago

I see. Now I can write it like this

q1 q1 ~ 1 s6, ( s1 ) q2 s2 ( s3 ) s4 ( s5 ~ 5 ) - q0 s5 ( s6 q5 ) s5 ( s3 )

it can ok; image

ssb22 commented 14 hours ago

太好了

unbored commented 4 hours ago

I see. Now I can write it like this

q1 q1 ~ 1 s6, ( s1 ) q2 s2 ( s3 ) s4 ( s5 ~ 5 ) - q0 s5 ( s6 q5 ) s5 ( s3 )

it can ok; image

It looks like you’re using a previous version of the script? I saw the flipped beams and serif font