[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: slurs with more than 2 control points
From: |
Urs Liska |
Subject: |
Re: slurs with more than 2 control points |
Date: |
Fri, 27 Nov 2015 08:39:52 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
Am 27.11.2015 um 03:14 schrieb tisimst:
> Malte,
>
> On Thursday, November 26, 2015, lilypond-7 [via Lilypond] <
> address@hidden> wrote:
>
>> Hi list,
>>
>> how complicated would it be to get slurs with more than 2 control
>> points?
>
>
> With the current code? Nothing automatic, but you could definitely create a
> function that could take an arbitrary number of control points, but I
> can see that taking effect as a direct postscript drawing routine. I have
> done quite a few curve routines for other projects in the past so I know
> it's possible.
>
> Slurs with an S shape often have very flat ends and slurs with
>> more than one "direction change" (sometimes used in
>> romantic/impressionistic piano music) aren't possible at all, are they?
>
>
> Current slurs can take the S shape, but only to an extent. By definition,
> since the slurs are defined as 3rd-order Bézier curves, they mathematically
> can only have a single inflection point. It would take a higher order curve
> to change directions more than one time. They aren't mathematically
> complex, but beyond the scope of the current code infrastructure.
>
> In short, are they possible at the moment? No. Are they impossible? No, but
> it requires some new code. I might consider tackling that in the near
> future.
That would be a great addition, be it as an includable function or
(better) in LilyPond's code base.
Urs
>
> Best,
> Abraham
>
>
>
>
> --
> View this message in context:
> http://lilypond.1069038.n5.nabble.com/slurs-with-more-than-2-control-points-tp184151p184186.html
> Sent from the Bugs mailing list archive at Nabble.com.
> _______________________________________________
> bug-lilypond mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-lilypond
>
--
Urs Liska
www.openlilylib.org