[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    Re: Slurs and PhrasingSlurs with simultaneous start or end
From:       "Dmytro O. Redchuk" <brownian.box () gmail ! com>
Date:       2011-07-28 8:43:32
Message-ID: 20110728084332.GB20248 () volz ! ua
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic