If you ever need the score and a transposed part to have a different slur shape in places... this does it :)

Just had to share -- actually I wasn't entirely sure this would work, but it's perfect!

hjh

\version "2.18.2"
\language "english"

music = \relative c' {
 \tupletSpan 1*6/8
 \tuplet 4/3 {
cs4 \tag #'scoreOnly { \shape #'((0 . 0) (0 . 0) (0 . 1.2) (0 . -0.5)) Slur } \tag #'partOnly { \shape #'((-0.5 . 1.5) (0 . 0) (0 . 0) (0 . 1.0)) Slur }
   f,! ( d' e cs' b'2 g,4 ) }
 \tupletSpan \default
}

\score {
 \new Staff {
   \time 12/8
   % from score in C
   \keepWithTag #'scoreOnly \music
   \bar "||"
   % transposed part with the same slur shape adjustment, VERY ugly
   \keepWithTag #'scoreOnly \transpose a c' \music
   \bar "||"
   % fixed
   \keepWithTag #'partOnly \transpose a c' \music
   \bar "||"
 }
}

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to