On Thu, Oct 3, 2024 at 10:29 AM Cameron Hall <camerongh...@cox.net> wrote:
> On Mon, 30 Sep 2024 12:45:25 -0700 > Knute Snortum wrote: > > > On Mon, Sep 30, 2024 at 11:54 AM Cameron Hall > > wrote: > > > > > However, I still can't get the slur to work. > > > > > > > I don't know the answer for the repeats, but use a \repeatTie for the > > partial slur in the second ending: > > > > a8\repeatTie r16 b( c' d' | % 2nd ending > > > > > > -- > > Knute Snortum > > What about this case where the slur is only on the very last note of > the first ending? > > %%% BEGIN EXAMPLE %%% > \version "2.24.4" > \fixed c'' { > r2 r4 g,( > \repeat volta 2 { > \mark \default > c4) r d4 r | > \alternative { > \volta 1 { e2. g,4 } % I want this G to slur back to the C at > letter A > \volta 2 { c1 } > } > } > } > %%% END EXAMPLE %%% > > If I use the empty chord trick \volta 1 { e2. g,4( <>) } then it slurs > to the second ending, which I don't want. > Hi Cameron, There's a \slurHalfSolid command. And there's also the Slur.dash-definition property, for which there are a couple of examples in the last part of https://lilypond.org/doc/v2.25/Documentation/notation/slurs. With your example: %%% BEGIN %%% \version "2.25.19" \fixed c'' { r2 r4 g, ( \repeat volta 2 { \mark \default c4 ) r d4 r | \alternative { \volta 1 { e2. \once \slurHalfSolid g,4 ( } \volta 2 { c1 ) } } } } \fixed c'' { r2 r4 g, ( \repeat volta 2 { \mark \default c4 ) r d4 r | \alternative { \volta 1 { e2. \once \override Slur.dash-definition = #'((0 0.5 1 1) (0.5 1 0.001 3)) g,4 ( } \volta 2 { c1 ) } } } } %%% END %%% [image: half-slurs.png] Note that my values for the second example, with Slur.dash-definition, leaves a bit of a graphic imperfection. Seems like it should be possible to dash-definition in a way that truly prints no line of any sort (ie, white), but I can't seem to figure it out. HTH, Trevor. -- Trevor Bača www.trevorbaca.com soundcloud.com/trevorbaca