On Thu, May 10, 2012 at 6:00 PM, Thomas
Morley
<address@hidden>
wrote:
2012/5/11
Thomas Morley <address@hidden>:
> Hi David,
>
> I thought a while about your function.
> I'd like to suggest some changes. In the attached
file you can see:
>
> - Elimination of `function' as argument of
shape-curve and introducing
> it as local variable.
I like this! I had thought of looking up the callback (as
an alternative to passing it in), but hadn't found a way to do
it. Nice!
> - A new condition added in shape-curve at the
siblings-variable: ly:spanner?
Right--otherwise overriding LaissezVibrerTie won't work.
> - In the music-function I added a new variable to
specify the grob.
Aha--I didn't realize you could drop the # in the latest
versions. I like this too. Of course, if you want to stick
with shapeSlur (and its ilk) you can define it like this:
shapeSlur =
#(define-music-function (parser location offsets) (list?)
#{
\once \override Slur #'control-points = #(shape-curve
offsets location)
#})