lilypond-user
[Top][All Lists]
Advanced

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

Slur as TupletBracket


From: J Ruiz
Subject: Slur as TupletBracket
Date: Fri, 21 Oct 2011 00:55:31 -0700 (PDT)

From: Jethro Van Thuyne
Subject: Slur as TupletBracket
Date: Tue, 9 Feb 2010 18:55:33 +0000 (UTC)
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)

I'm trying to replace the tuplet bracket with a slur by doing:

  \layout {
    \context {
      \Score 
      \override TupletBracket #'stencil = #ly:slur::print
    }
  }

Unfortunately, I get a fucked up slur, starting and ending vertically on 
the first note of the triplet (version 2.12.3):

  http://hemiola.eu/tuplet_slur.png

Is it broken or am I doing it wrong?

Best regards,

Jethro.
___________________________________
I use v2.14.2
Lilypond goes ignorant with tuplet brackets in style of a slur.
Switching to slur::print will require you add three control points for the slur
to manually define the curve:
\override TupletBracket #'control-points = #'( ( 4.5284 . 4.166) ( 6.521 . 4.89) ( 8.9664 . 4.619) ( 10.415 . 2.717) )
Another side-effect of this option is collision avoidance is disabled, and
you'll likely need to also tweak the the TupletNumber offset with command like:
\override TupletNumber #'extra-offset = #'(2.2 . -1.4 )

reply via email to

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