[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Access a tie from a slur
From: |
Urs Liska |
Subject: |
Re: Access a tie from a slur |
Date: |
Tue, 3 Jan 2017 15:11:34 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0 |
Hi David,
thank you for the clarification.
Am 03.01.2017 um 15:07 schrieb David Nalesnik:
> Hi Urs,
>
> On Tue, Jan 3, 2017 at 1:14 AM, Urs Liska <address@hidden> wrote:
>> Hi David,
>>
>> thank you for now. This is proof that one can at least *get* to the
>> right information, and when the use-case is clearer one may also find a
>> more efficient approach if possible.
>>
>> Just one more question (a simple "yes" or "no" or a pointer to a
>> function name will do, no need to write a solution): The control-points
>> in tie-cps are of course relative to the tie's notehead. Is it possible
>> to determine the offset of the f' from the c'? This seems necessary to
>> make use of tie-cps to modify the slur.
> As far as horizontal position is concerned, you could use (from
> http://lilypond.org/doc/v2.19/Documentation/internals/scheme-functions):
>
> "Function: ly:grob-relative-coordinate grob refp axis
>
> Get the coordinate in axis direction of grob relative to the grob refp."
>
> For refp, you'd want to use the System object.
>
> This will work well for horizontal positions, but it can lead to some
> nasty vertical spacing side-effects if you use it with Y-coordinates.
> In any case, however, the vertical cps are all relative to the center
> line, so no need for anything fancy.
>
> Hope this gets you going in the right direction--
I hope so. At least it gives me the impression that the task is
basically feasible, and I have something to come back to if I really
need it.
Best
Urs
>
> David
--
address@hidden
https://openlilylib.org
http://lilypondblog.org