On Mon 24 Feb 2025 at 07:58:19 (-0800), Knute Snortum wrote:
> > On Mon, 24 Feb 2025 at 16:18, Gianmaria Lari wrote:

> >> When I need to write a temporary polyphonic passage my code looks similar
> >> to this:

> >> \fixed c' \new Staff
> >> {
> >>   \incipit %monodic
> >>   <<
> >>     \new Voice {\voiceOne \voiceB}
> >>     \new Voice {\voiceTwo \voiceA}
> >>   >>
> >>   \conclusion
> >> }
> >>
> >> %%%
> >>
> >> I just discovered that the lilypond online help propose something
> >> different:

> >> \fixed c' \new Staff
> >> {
> >>   \incipit
> >>   <<
> >>     {\voiceOne \voiceB}
> >>     \new Voice {\voiceTwo \voiceA}
> >>   >>
> >>   \conclusion
> >> }
> >>
> >> %%%
> >>
> >> The output is exactly the same but I'm wondering if there are
> >> substantial differences I should be aware of.
> >
> In the second form, the incipit, voiceB, and the conclusion are all in the
> same context.  That means that the conclusion will be in \voiceOne.  This
> can be useful if you want to, for instance, slur from the incipit to
> voiceB, or from voiceB to the conclusion.

It also simplifies adding lyrics for the same reason.

Cheers,
David.

Reply via email to