Re: Can't modify multiple shapes on a chord
On Thu, Mar 26, 2020 at 1:21 PM David Nalesnik wrote: > > > > > although it does the job I still wonder if the "tweak" (?) method > suggested by Mark can work too, so to have multiple shape commands > together, instead of a shapeColumn. > > > > Best, > > Paolo > > Won't work, hence the elaborate code. From the Notation Reference > ( > http://lilypond.org/doc/v2.20/Documentation/notation/modifying-shapes.en.html#modifying-ties-and-slurs > ): > > "Known issues and warnings > It is not possible to modify shapes of ties or slurs by changing the > control-points property if there are multiple ties or slurs at the > same musical moment – the \tweak command will also not work in this > case. However, the tie-configuration property of TieColumn can be > overridden to set start line and direction as required." > > DN > Thank you David, now I have a clear idea about the status of the issue. Best, Paolo
Re: Can't modify multiple shapes on a chord
Hi Paolo, On Wed, Mar 25, 2020 at 5:56 PM Paolo Prete wrote: > > >> >> >> In order to get at individual ties in a chord, you have to resort to >> desperate measures. Use the code here: >> https://www.mail-archive.com/lilypond-devel@gnu.org/msg47432/shape-tie-columns.ly >> >> Hope this helps, >> David > > > > Thank you David, > > although it does the job I still wonder if the "tweak" (?) method suggested > by Mark can work too, so to have multiple shape commands together, instead of > a shapeColumn. > > Best, > Paolo Won't work, hence the elaborate code. From the Notation Reference (http://lilypond.org/doc/v2.20/Documentation/notation/modifying-shapes.en.html#modifying-ties-and-slurs): "Known issues and warnings It is not possible to modify shapes of ties or slurs by changing the control-points property if there are multiple ties or slurs at the same musical moment – the \tweak command will also not work in this case. However, the tie-configuration property of TieColumn can be overridden to set start line and direction as required." DN
Re: Can't modify multiple shapes on a chord
> > > In order to get at individual ties in a chord, you have to resort to > desperate measures. Use the code here: > > https://www.mail-archive.com/lilypond-devel@gnu.org/msg47432/shape-tie-columns.ly > > Hope this helps, > David > Thank you David, although it does the job I still wonder if the "tweak" (?) method suggested by Mark can work too, so to have multiple shape commands together, instead of a shapeColumn. Best, Paolo
Re: Can't modify multiple shapes on a chord
Hi Paolo, On Wed, Mar 25, 2020 at 9:45 AM Paolo Prete wrote: > > Hello. > > Please consider this (tested on 2.19.84): > > \new Voice << > { \shape #'((0 . 0) (0 . 0) (0 . 0) (3 . 0)) Tie c' ~ c' } > { \shape #'((0 . 0) (0 . 0) (0 . 0) (0 . 0)) Tie c'' ~ c'' } > >> > > If I modify the shape on the first tie, changes are applied on the second > tie. Is this a bug? If so, is there a fix/workaround for this? > I tried \partcombine too, and the issue persists. > In order to get at individual ties in a chord, you have to resort to desperate measures. Use the code here: https://www.mail-archive.com/lilypond-devel@gnu.org/msg47432/shape-tie-columns.ly Hope this helps, David
Re: Can't modify multiple shapes on a chord
> > I haven't seen this construction before ( \new Voice << { } { } >>). > You should either have two separate Voices or put a "\\" in between > the two music expressions, so that lilypond will split it into two > voices. Sorry but I can't figure what is the *right* expression for solving the issue. Please can you provide it by pasting the correct code for the previous example? thanks
Re: Can't modify multiple shapes on a chord
On Wed, 25 Mar 2020 at 19:14, Paolo Prete wrote: >> > Please consider this (tested on 2.19.84): >> > >> > \new Voice << >> > { \shape #'((0 . 0) (0 . 0) (0 . 0) (3 . 0)) Tie c' ~ c' } >> > { \shape #'((0 . 0) (0 . 0) (0 . 0) (0 . 0)) Tie c'' ~ c'' } >> >>> I haven't seen this construction before ( \new Voice << { } { } >>). You should either have two separate Voices or put a "\\" in between the two music expressions, so that lilypond will split it into two voices. Otherwise LilyPond is trying to add two ties at the same time in the same voice which means you can't override it twice
Re: Can't modify multiple shapes on a chord
On Wed, Mar 25, 2020 at 4:20 PM Mark Knoop wrote: > At 14:44 on 25 Mar 2020, Paolo Prete wrote: > > Hello. > > > > Please consider this (tested on 2.19.84): > > > > \new Voice << > > { \shape #'((0 . 0) (0 . 0) (0 . 0) (3 . 0)) Tie c' ~ c' } > > { \shape #'((0 . 0) (0 . 0) (0 . 0) (0 . 0)) Tie c'' ~ c'' } > >>> > > > > If I modify the shape on the first tie, changes are applied on the second > > tie. Is this a bug? If so, is there a fix/workaround for this? > > I tried \partcombine too, and the issue persists. > > Since both ties occur at the same moment, you need to use the tweak form > of \shape. See this page for details. > > http://lilypond.org/doc/v2.19/Documentation/notation/modifying-shapes > > -- > Mark Knoop > > I tried with both " - \tweak " and " - \shape " and the issue persists. Please see \new Voice << { c' - \shape #'((0 . 0) (0 . 0) (2 . 0) (0 . 0)) ~ c' } { c'' - \shape #'((10 . 0) (0 . 0) (0 . 0) (0 . 0)) ~ c'' } >> \new Voice << { c' - \tweak control-points #'((0 . 0) (0 . 0) (2 . 0) (0 . 0)) ~ c' } { c'' - \tweak control-points #'((10 . 0) (0 . 0) (0 . 0) (14 . 0)) ~ c'' } >> http://lilybin.com/t83il1/1 Thanks
Re: Can't modify multiple shapes on a chord
At 14:44 on 25 Mar 2020, Paolo Prete wrote: > Hello. > > Please consider this (tested on 2.19.84): > > \new Voice << > { \shape #'((0 . 0) (0 . 0) (0 . 0) (3 . 0)) Tie c' ~ c' } > { \shape #'((0 . 0) (0 . 0) (0 . 0) (0 . 0)) Tie c'' ~ c'' } >>> > > If I modify the shape on the first tie, changes are applied on the second > tie. Is this a bug? If so, is there a fix/workaround for this? > I tried \partcombine too, and the issue persists. Since both ties occur at the same moment, you need to use the tweak form of \shape. See this page for details. http://lilypond.org/doc/v2.19/Documentation/notation/modifying-shapes -- Mark Knoop