\version "2.14.0"
offsetPhrasingSlurPos =
#(define-music-function (parser location offsets) (pair?)
#{
\once \override PhrasingSlur #'positions = #(lambda (grob)
`(,(+ (car $offsets) (cdar (ly:phrasingslur::calc-control-points
grob))) .
,(+ (cdr $offsets) (cdr (cadddr
(ly:phrasingslur::calc-control-points grob))))))
#})
\relative c'' {
\time 3/4
\slurDashed
c16\(( d) e f g8\) c,8 d16\(( c) b a\)
\offsetPhrasingSlurPos #'(0.3 . 0) c16\(( d) e f g8\) c,8
\offsetPhrasingSlurPos #'(0.3 . 0) d16\(( c) b a\)
} Nick
<<attachment: test.preview.png>>
_______________________________________________ bug-lilypond mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-lilypond
