lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Override ties


From: David Nalesnik
Subject: Re: Override ties
Date: Thu, 13 Oct 2011 12:36:07 -0500

Hi Ed,

On Thu, Oct 13, 2011 at 12:25 PM, Ed Gordijn <address@hidden> wrote:
 case this works even better then tweaking the control points! Sorry Urs! Am I right is this not yet documented?

I tried to make a music function and that didn't work. Do you know why not?

 Try this:

\version "2.14.2"

squeezeTie = #(define-music-function (parser location gap) (number?)
#{
   \override Tie #'details = #`((note-head-gap . ,$gap )       ;; default: 0.2

                                (outer-tie-vertical-gap . 0))  % default: 0.25
#})

rsqueezeTie = \revert Tie #'details

\relative a' {
 \squeezeTie #0.6
 a8  a~---> a a
 \rsqueezeTie
 a a~---> a a
 
}

(I moved the revert so you can see the changes with this example.)

Hope this helps!

David

reply via email to

[Prev in Thread] Current Thread [Next in Thread]