Neil Puttock wrote:
Hi Rob,

hi
thanks for the response,

2008/12/18 Rob Canning <robcann...@eircom.net>:
hello,

i would like to replace ties between notes with a line connecting note
heads. i'm not sure how to go about this. should i try and flatten the curve
of the tie, make it slightly thicker and change its relative possition to
the notehead or is there a better way.
is there some sort of global override i can do to change all ties to this
style.

Sounds a bit like a glissando. ;)

yes this would be perfect but as i am modifying a preexisting score its
tricky - but possible for sure
my problem with this was that i was using a script to find and replace
ties with glissandos - but i couldnt get it working cleanly - kept
getting errors and looked for another approach

i was trying to do it with sed with a line like this:

sed  's/~/\\glissando/' header-inserted > ties-fixed;

but ran into trouble with all the ^ sybols and so on -

am a lilypond newbie and a sed newbie so am really struggling but slowly
i get somewhere

There are lots of interesting Tie 'details in scm/define-grobs.scm
will look in here..

which you might find useful; for example, overriding 'height-limit
will flatten a tie:

\override Tie #'(details heigh-limit) = #0

strange this doesnt seem to make any difference here - no doubt i have
it in the wrong place in the code or some such - i tried it in a few
places but no luck

This is a bit lozenge-shaped, but I don't think you'll get a perfectly
straight line since ties are made from two bezier curves sandwiched
together.

Regards,
Neil






_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to