bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: slurs with more than 2 control points


From: tisimst
Subject: Re: slurs with more than 2 control points
Date: Thu, 26 Nov 2015 19:14:30 -0700 (MST)

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.

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]