Re: Re[2]: Slur with left and/or right arrow head

2019-04-20 Thread Thomas Morley
Am Fr., 19. Apr. 2019 um 23:37 Uhr schrieb Trevor : > > > Aaron, Harm > > Could I please comment on just one feature? The overrides to add or inhibit > arrow-heads at the left and right ends of the Slur are: > > \override Slur.details.arrow-left = #LEFT > \override Slur.details.arrow-right = #

Re[2]: Slur with left and/or right arrow head

2019-04-19 Thread Trevor
Cc: "lilypond-user" Sent: 19/04/2019 22:03:31 Subject: Re: Slur with left and/or right arrow head Am Di., 16. Apr. 2019 um 23:45 Uhr schrieb Aaron Hill : On 2019-04-16 10:37 am, Thomas Morley wrote: > Am Mo., 15. Apr. 2019 um 19:26 Uhr schrieb Lukas-Fabia

Re: Slur with left and/or right arrow head

2019-04-19 Thread Thomas Morley
Am Di., 16. Apr. 2019 um 23:45 Uhr schrieb Aaron Hill : > > On 2019-04-16 10:37 am, Thomas Morley wrote: > > Am Mo., 15. Apr. 2019 um 19:26 Uhr schrieb Lukas-Fabian Moser > > : > >> > >> Folks, > >> > >> in > >> https://archiv.lilypondforum.de/index.php?topic=1744.msg9669#msg9669, > >> Harm invente

Re: Slur with left and/or right arrow head

2019-04-19 Thread Thomas Morley
Am Fr., 19. Apr. 2019 um 18:01 Uhr schrieb Aaron Hill : > > On 2019-04-19 3:29 am, Thomas Morley wrote: > > Am Mi., 17. Apr. 2019 um 21:16 Uhr schrieb Thomas Morley > > : > >> > >> Am Di., 16. Apr. 2019 um 23:45 Uhr schrieb Aaron Hill > > > >> > Also, I "fixed" the font-size issue by bypassing the

Re: Slur with left and/or right arrow head

2019-04-19 Thread Aaron Hill
On 2019-04-19 3:29 am, Thomas Morley wrote: Am Mi., 17. Apr. 2019 um 21:16 Uhr schrieb Thomas Morley : Am Di., 16. Apr. 2019 um 23:45 Uhr schrieb Aaron Hill > Also, I "fixed" the font-size issue by bypassing the font settings > within the grob itself, because simply scaling the glyph results

Re: Slur with left and/or right arrow head

2019-04-19 Thread Thomas Morley
Am Mi., 17. Apr. 2019 um 21:16 Uhr schrieb Thomas Morley : > > Am Di., 16. Apr. 2019 um 23:45 Uhr schrieb Aaron Hill > > Also, I "fixed" the font-size issue by bypassing the font settings > > within the grob itself, because simply scaling the glyph results in > > thicker lines. So while font-size

Re: Slur with left and/or right arrow head

2019-04-18 Thread Aaron Hill
On 2019-04-18 6:40 am, Carl Sorensen wrote: On 4/17/19, 1:41 PM, "Aaron Hill" wrote: On 2019-04-17 12:16 pm, Thomas Morley wrote: > [ . . . ] why does Tie has a font-size property at all? That I cannot speak to. I'd have to dig through the code to see where it is used. Tie

Re: Slur with left and/or right arrow head

2019-04-18 Thread Carl Sorensen
On 4/17/19, 1:41 PM, "Aaron Hill" wrote: On 2019-04-17 12:16 pm, Thomas Morley wrote: > [ . . . ] why does Tie has a font-size property at all? That I cannot speak to. I'd have to dig through the code to see where it is used. Ties and slurs are not Bezier curves, b

Re: Slur with left and/or right arrow head

2019-04-17 Thread Carl Sorensen
On 4/17/19, 9:50 PM, "Aaron Hill" wrote: Additionally, it is important to consider velocity along the curve. Based on the positioning of the control points, we may be walking at times and running at others. You see this with the variable spacing of dots when you sampled a

Re: Slur with left and/or right arrow head

2019-04-17 Thread Aaron Hill
On 2019-04-17 3:31 pm, Thomas Morley wrote: Well, I'd like to understand beziers better, continuing my afford here also means I shouldn't ignore such things ;) Beziers are one way to generalize simple linear interpolation to higher orders, and they have a rather curious recursive relationship

Re: Slur with left and/or right arrow head

2019-04-17 Thread Thomas Morley
Am Mi., 17. Apr. 2019 um 22:53 Uhr schrieb David Kastrup : > > Thomas Morley writes: > > > Am Mi., 17. Apr. 2019 um 21:52 Uhr schrieb David Kastrup : > >> > >> >> "time". > >> > > >> > Well, actually I read that in some papers trying to explain beziers, > >> > already. > >> > But what means "time

Re: Slur with left and/or right arrow head

2019-04-17 Thread Thomas Morley
Am Mi., 17. Apr. 2019 um 23:02 Uhr schrieb Lukas-Fabian Moser : > > Hi Harm, > > > Well, it's a little cheating involved :) > > LilyPond does checks for grob-properties, you can't write > > \override Grob.self-invited-property = ... > > without "explaining" this `self-invited-property´ to LilyPond.

Re: Slur with left and/or right arrow head

2019-04-17 Thread Lukas-Fabian Moser
Hi Harm, Well, it's a little cheating involved :) LilyPond does checks for grob-properties, you can't write \override Grob.self-invited-property = ... without "explaining" this `self-invited-property´ to LilyPond. But details and bound-details are established properties taking alists containing

Re: Slur with left and/or right arrow head

2019-04-17 Thread David Kastrup
Thomas Morley writes: > Am Mi., 17. Apr. 2019 um 21:52 Uhr schrieb David Kastrup : >> >> >> "time". >> > >> > Well, actually I read that in some papers trying to explain beziers, >> > already. >> > But what means "time"? >> > I'm arranging pixels on a screen, or tell a printer what to print >> >

Re: Slur with left and/or right arrow head

2019-04-17 Thread Thomas Morley
Am Mi., 17. Apr. 2019 um 21:52 Uhr schrieb David Kastrup : > > Thomas Morley writes: > > > Am Mi., 17. Apr. 2019 um 21:30 Uhr schrieb David Kastrup : > >> > >> Thomas Morley writes: > >> > What kind of value is `t´ in (define (bezier-angle control-points t) ...) > >> > Seems not to be a x- or y-

Re: Slur with left and/or right arrow head

2019-04-17 Thread David Kastrup
Thomas Morley writes: > Am Mi., 17. Apr. 2019 um 21:30 Uhr schrieb David Kastrup : >> >> Thomas Morley writes: >> >> > Hi Aaron, >> > >> > thanks a lot for this. >> > I was aware of not going for the bezier-curve itself, but only for the >> > control-points was a raw approximation. >> > Yours is

Re: Slur with left and/or right arrow head

2019-04-17 Thread Thomas Morley
Am Mi., 17. Apr. 2019 um 10:13 Uhr schrieb Lukas-Fabian Moser : Hi Lukas, > As to the interface: For, e.g., Glissandos, an arrow tip (not as > beautiful as your Slur arrow) is activated by issuing \overriding > Glissando.bound-details.left.arrow = ##t. I asked myself whether it's > good to have t

Re: Slur with left and/or right arrow head

2019-04-17 Thread Aaron Hill
On 2019-04-17 12:16 pm, Thomas Morley wrote: One question I really couldn't answer is: What kind of value is `t´ in (define (bezier-angle control-points t) ...) Seems not to be a x- or y-value, not an arc-length-value .., but what else? "t" is the standard name for the control value of parame

Re: Slur with left and/or right arrow head

2019-04-17 Thread Thomas Morley
Am Mi., 17. Apr. 2019 um 21:30 Uhr schrieb David Kastrup : > > Thomas Morley writes: > > > Hi Aaron, > > > > thanks a lot for this. > > I was aware of not going for the bezier-curve itself, but only for the > > control-points was a raw approximation. > > Yours is far better. > > Mostly I did so fo

Re: Slur with left and/or right arrow head

2019-04-17 Thread David Kastrup
Thomas Morley writes: > Hi Aaron, > > thanks a lot for this. > I was aware of not going for the bezier-curve itself, but only for the > control-points was a raw approximation. > Yours is far better. > Mostly I did so for reasons of lacking knowledge of beziers, both the > math and how to compute

Re: Slur with left and/or right arrow head

2019-04-17 Thread Thomas Morley
Am Di., 16. Apr. 2019 um 23:45 Uhr schrieb Aaron Hill : > > On 2019-04-16 10:37 am, Thomas Morley wrote: > > Am Mo., 15. Apr. 2019 um 19:26 Uhr schrieb Lukas-Fabian Moser > > : > >> > >> Folks, > >> > >> in > >> https://archiv.lilypondforum.de/index.php?topic=1744.msg9669#msg9669, > >> Harm invente

Re: Slur with left and/or right arrow head

2019-04-17 Thread Lukas-Fabian Moser
Hi Aaron and Harm, I started to implement the functionality, finally I more or less rewrote anything. As David K once said: rewriting all means at least knowing where the bugs are... There is an annoying optical issue where using the angle of the curve at the end points does not work well fo

Re: Slur with left and/or right arrow head

2019-04-16 Thread Thomas Morley
Am Mo., 15. Apr. 2019 um 19:26 Uhr schrieb Lukas-Fabian Moser : > > Folks, > > in https://archiv.lilypondforum.de/index.php?topic=1744.msg9669#msg9669, > Harm invented a truly wonderful new feature allowing to add an arrow > head to the right end of a Slur (or, for that matter, a Tie, > PhrasingSlu

Slur with left and/or right arrow head

2019-04-15 Thread Lukas-Fabian Moser
Folks, in https://archiv.lilypondforum.de/index.php?topic=1744.msg9669#msg9669, Harm invented a truly wonderful new feature allowing to add an arrow head to the right end of a Slur (or, for that matter, a Tie, PhrasingSlur etc.). I reproduce it here with only trivial changes (mainly omitting