Hello tablature users,
hopefully 2010 will bring a user-friendly solution
for coding bends.
Since my last posts concerning bends, I was stuck by
some implementation design problems, but now I think
I know how to handle them ...
Please compile the attached file (test-pointed-slurs.ly),
bend.ly has to be put into the same directory.
There are three possibilities to draw the pointed slurs
in the normal staves.
1) fixed height: the triangle covered by the pointed slur
has a fixed height regardless of the distance of the note heads.
At the moment, the height is 2 staff sizes, but you can change this
value in bend.ly; just adapt the value in
#(define pointed-slur-height 2.0)
to your needs.
2) Here I tried to follow the tangents on the normally drawn slurs in the
outer points.
3) This is approximately a triangle throught the end points and the
middle point of a normally drawn slur.
Please consider the appearance in extreme situations, when the note heads
are close together/accidentals are present etc.
What do you think? How should the pointed slurs look like?
Greetings
Marc