Re: Hairpin endings

2017-04-24 Thread Thomas Morley
Hi David, 2017-04-24 1:34 GMT+02:00 David Nalesnik : > On Sun, Apr 23, 2017 at 6:15 PM, Thomas Morley > wrote: >> 2017-04-23 12:34 GMT+02:00 Andrew Bernard : >> >>> Next thing to do is to achieve the half dashed/half

Re: Hairpin endings

2017-04-23 Thread David Nalesnik
On Sun, Apr 23, 2017 at 6:15 PM, Thomas Morley wrote: > 2017-04-23 12:34 GMT+02:00 Andrew Bernard : > >> Next thing to do is to achieve the half dashed/half solid appearance - or >> can this be done already, in the same way that slurs can? > >

Re: Hairpin endings

2017-04-23 Thread Thomas Morley
2017-04-23 12:34 GMT+02:00 Andrew Bernard : > Next thing to do is to achieve the half dashed/half solid appearance - or > can this be done already, in the same way that slurs can? How about: #(define (solid-dashed-print-proc grob startx starty endx endy) (let*

Re: Hairpin endings

2017-04-23 Thread Andrew Bernard
A correction to the code - the hairpin was not starting at the correct place after a dynamic, but was starting at zero offset. Here's the fix: (cons 0 (interval-start Y-ext) -> (cons (interval-start X-ext) (interval-start Y-ext) Andrew == snip % Open hairpin. % By Nathan Ho

Re: Hairpin endings

2017-04-23 Thread David Nalesnik
On Sun, Apr 23, 2017 at 5:34 AM, Andrew Bernard wrote: > Hi David and Nathan, > > Apologies for a tardy response. > > Sincere thanks to both of you for your work on this. It's really useful to > me. I prefer using the ly:line-interface::line version because of the way it

Re: Hairpin endings

2017-04-22 Thread Thomas Morley
2017-04-21 19:15 GMT+02:00 Thomas Morley : > 2017-04-21 14:39 GMT+02:00 David Nalesnik : > The code for "Ferneyhough" hairpins uses make-connected-path-stencil, > hence it will not work for this purpose. > > Below a rewrite using

Re: Hairpin endings

2017-04-21 Thread David Nalesnik
Hi Nathan, On Fri, Apr 21, 2017 at 12:54 PM, Nathan Ho wrote: > On 2017-04-21 05:39, David Nalesnik wrote: >> >> Instead of using a markup, why not use ly:line-interface::line >> (available from 2.19.27)? This gets thickness from the grob--and any >> other line attributes

Re: Hairpin endings

2017-04-21 Thread Nathan Ho
On 2017-04-21 05:39, David Nalesnik wrote: Instead of using a markup, why not use ly:line-interface::line (available from 2.19.27)? This gets thickness from the grob--and any other line attributes you want, so you can create dashed hairpins, whatever. There's no need adjust thickness in this

Re: Hairpin endings

2017-04-21 Thread Thomas Morley
2017-04-21 14:39 GMT+02:00 David Nalesnik : > Hi, > > On Fri, Apr 21, 2017 at 1:07 AM, wrote: >> Am 2017-04-21 07:41, schrieb Nathan Ho: >>> >>> On 2017-04-20 20:42, Andrew Bernard wrote: I posted a while ago with a query about hairpins,

Re: Hairpin endings

2017-04-21 Thread David Nalesnik
Hi, On Fri, Apr 21, 2017 at 1:07 AM, wrote: > Am 2017-04-21 07:41, schrieb Nathan Ho: >> >> On 2017-04-20 20:42, Andrew Bernard wrote: >>> >>> I posted a while ago with a query about hairpins, to which no >>> response. >>> >>> Would there be any way to have hairpins that

Re: Hairpin endings

2017-04-20 Thread Nathan Ho
On 2017-04-20 20:42, Andrew Bernard wrote: I posted a while ago with a query about hairpins, to which no response. Would there be any way to have hairpins that don't start, or end in the other direction, with the lines converging to the same point? I have need from time to time of hairpins