Re: [tablatures] new attempt to hammer on/pull off

[ Thread Index | Date Index | More lilynet.net/tablatures Archives ]




On 9/30/09 2:51 AM, "Marc Hohl" <marc@xxxxxxxxxx> wrote:

> Hello tablature users,
> 
> I decided to rework the hammer on/pull off stuff almost from scratch.
> 
> After playing with some internal variables I found out how to make the stems
> so short that they don't influence the slurs anymore (before making them
> invisible,
> as it is now for tablature).

Seems like a creative thing to do.  This code can (eventually) be made part
of tabNumbersOnly, right?

> 
> Attached is a file hp.ly which can be included in your own files for
> testing purposes,
> and a simple, quick hptest.ly as a starting point for your tests.
> 
> @Carl: I think the slur callback has to be reworked when the slur
> #'details are (at least for me)
> not a mysterious bunch of values that I don't understand, but this
> depends on Patrick McCartys
> efforts to make these more understandable.

The current challenge with draw-tab-slur is that it shifts the slur after
the control points are already determined, which means that it may introduce
collisions.  It would be better if the slur *calculation* code could be used
to fix this up, instead of the slur *printing* code.
 
> In the meantime, a patch
> including the code from
> hp.ly into tablature.scm would improve the overall behavior of slurs
> (which for now are simply transparent)
> in tablature - when the testers do not complain about situations where
> hp.ly does not work :-)
> What do you think? Or is my approach way too crude?
>

I think working up a patch based on this is probably OK, but it should at
least have a TODO in it.

Thanks,

Carl




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/