On Fri, Apr 18, 2025 at 11:03 PM Paul Scott <[email protected]> wrote:
> Hi Wonderful Lilypond coders,
>
> I obviously don't understand voices well enough:
>
> How can I get the tie and the slur to work in this example?:
>
> \version "2.25.25"
>
> \fixed c' {
> \voiceTwo { g1( f~1~ } << { f2.~8 r } \\ { 8) r r4 r2 } >> \break
> g1( f~1~ << { 8) r r4 r2 } \\ { f2.~8 r } >>
> }
>
> I hope the placement of the ties and slur in the example make the
> intention clear,
>
What you need instead of the << { } \\ { } >> construct is << { } \new
Voice { } >>. The second form keeps the current context going in the first
set of braces.
%%%
\version "2.25.25"
\fixed c' {
\voiceTwo g1( f~1~
<< { 8) r r4 r2 } \new Voice { \voiceOne f2.~8 r } >> \break
\voiceOne g1( f~1~
<< { 8) r r4 r2 } \new Voice { \voiceTwo f2.~8 r } >>
}
%%%
--
Knute Snortum