lilypond-user
[Top][All Lists]
Advanced

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

Re: Adjusting a slur after line break


From: Chris Yate
Subject: Re: Adjusting a slur after line break
Date: Sun, 20 Dec 2015 00:50:34 +0000

On 20 December 2015 at 00:41, Simon Albrecht <address@hidden> wrote:
On 20.12.2015 00:45, Chris Yate wrote:
I can't get /alterBroken to work properly at all on control points.

When I try the "tweak" version, that I assume would look like:

<code>

r4.
d,16-\alterBroken control-points #'(((0.0 . 0.0) (0 . 1.2) (0 . 1.2) (4 . 1))  ((0.0 . 0.0) (0 . 1.2) (0 . 1.2) (4 . 1))  ((0 . 4.0) (0 . 3) (0 . 1) (0 . 0)) )
(f af cf af bf  |

</code>

.... then the slur only appears as a small, and odd-shaped squiggle by the first note d.  Editing these control points is a bit of hit and miss anyway, but I don't feel I understand the syntax for \alterBroken well enough; there are too few examples at present!

The big advantage of the shape command is that you can give offsets for each control point against the default shape. The control-points property however has every point coded relative to the reference point for the entire slur (the note head of the first note in the slur, I think), which often makes numbers very high and trial and error very time-consuming.

The second argument to \alterBroken is a list. Each of its elements will be applied to one of the segments of the broken spanner. If you supply less entries than there are segments, the remaining segments will not be tweaked.

HTH, Simon

I think I *half* understand what "shape" is doing, but I can't get alterBroken to work for the control points. Can you give a working example?

(I only half understand it, but I know the _two pairs_ of numbers at _each_ end of a slur shape, which code for the bezier coordinates, give the four sets of bracketed values. How the numbers work isn't a complete mystery but I've not yet found a better way to determine them than to keep plugging in numbers until it looks good, by iteration. A graphical tool would be WONDERFUL ;-) ). 
 
Thanks,

Chris


reply via email to

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