[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Slurs and PhrasingSlurs with simultaneous start or end
From: |
Dmytro O. Redchuk |
Subject: |
Re: Slurs and PhrasingSlurs with simultaneous start or end |
Date: |
Thu, 28 Jul 2011 11:43:32 +0300 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Thu 28 Jul 2011, 13:49 Nick Payne wrote:
> The automatic positioning of Slurs and PhrasingSlurs that both
> either start or finish on the same note is not very good. See below.
> Commercial scores that I have where this happens position the two
> slurs so that they don't intersect or touch, as in the second bar
> where the PhrasingSlur has been tweaked so that it doesn't intersect
> the slur:
I guess this is 304:
http://code.google.com/p/lilypond/issues/detail?id=304
And may be related to:
http://code.google.com/p/lilypond/issues/detail?id=163
> \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
--
Dmytro O. Redchuk "Easy to use" is easy to say.
Bug Squad -- Jeff Garbers