[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tie shape inside chords: Inconsistent compilation
From: |
Thomas Morley |
Subject: |
Re: Tie shape inside chords: Inconsistent compilation |
Date: |
Fri, 26 Oct 2018 16:13:10 +0200 |
Am Fr., 26. Okt. 2018 um 15:41 Uhr schrieb Pierre Perol-Schneider
<address@hidden>:
>
> Hi,
> Please consider the following example:
>
> %%
> \version "2.19.82"
> music =
> \fixed c' {
> \time 3/8
> \voiceOne
> <b -\shape #'((0 . 0) (0 . 0) (-1 . 0) (-1 . 0)) ~ g'~>4. q
> }
> { \music } { \music } { \music }
> %%
>
> After trying several compilation, sometimes the shape command is applied,
> sometimes not.
> I've found multiple workarounds in the past messages since this problem seems
> to be related to a known tie bug. However none of them seem to work in the
> piece I'm working on.
> Any idea?
> TIA, Cheers,
> Pierre
Hi Pierre,
LilyPond puts in-chord Ties in a TieColumn and performs her own thingy
according to the procedure 'positioning-done is set to, probably
dropping a user input for \shape.
Imho, best you can do is: set positioning-done #t, meaning: "Dear
LilyPond, don't bother about positioning the Ties, _I_ will do it."
Ofcourse you _should_ do then. :)
I.e. the Ties needs a direction. In your example it's done by
\voiceOne, you could use direction-modifiers ^/_ as well.
Now apply \shape where you want.
Example with some crazy values:
music =
\fixed c' {
\time 3/8
<b -\shape #'((0 . 0) (0 . 0) (1 . 0) (-2 . -2)) _~
g'-\shape #'((0 . 0) (0 . 0) (1 . 0) (-2 . 2)) ^~
>4.
\once \override TieColumn.positioning-done = ##t
q
}
{ \music } { \music } { \music }
HTH,
Harm