Hi Ed,

On Thu, Oct 13, 2011 at 12:25 PM, Ed Gordijn <[email protected]> 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
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to