On Tue, 2013-04-23 at 17:16 +0200, Urs Liska wrote:
David Nalesnik <address@hidden> schrieb:
Hi,
On Tue, Apr 23, 2013 at 9:36 AM, Janek Warchoł
<address@hidden>wrote:
2013/4/23 Richard Shann <address@hidden>:
On Sun, 2013-04-21 at 22:11 +0200, Janek Warchoł wrote:
what would be the nicest syntax using that data?
\shape by David Nalesnik (it's awesome!) Docs are here:
http://www.lilypond.org/doc/v2.17/Documentation/notation/modifying-shapes
note that \shape syntax is a bit different in 2.16.
I have had a little read of that documentation and it seems that
\shape
does not use the same data. It seems that to use \shape you would
need
to know the default values of the control points, which I guess
could
only be gotten with running LilyPond ...
I'm not sure what you mean.
I'm a little confused here too. I watched the demo (very cool, BTW!)
and
you are starting with a default curve, if I'm not mistaken.
Well, only if the user clicks accurately on the control points marked
with the red crosses. The user has set up the coordinate system with the
first cross-hair click on the center staff line, and then the rest is
relative to that.
Couldn't
the
results of dragging the various control points be expressed as
displacements to the curve you started with, rather than as absolute
values? Then adjustments would be made automatically with a change in
layout.
That's what I thought initially too.
But maybe this default curve isn't Lilypond's? Then he'd be out of luck.
What would be needed is to get the user to click on the control points
accurately and then work out the differences from there. That could be
done...