Hi,
You should use \oneVoice when voice two vanishes:
\header{
title = "example 2"
}
\relative c'
{<<
{ c'( d) r f, d' r g,( a)
\oneVoice c( d) r f, d' r g,( a) }
\\
{ s1 c,4 d r4 f }
>>
}
Hope this helps,
Jean
Le mardi 10 juin 2025 à 05:52 +0000, Dirck Nagy a écrit :
>
> Hi again all:
>
>
> Complicated question: Is there a way to return rests to their default
> (single voice) positions after music in a second voice has been added?
>
>
> Here are 3 examples:
>
>
> Example 1 : music in a single voice. Stems, slurs, and rests in expected
> positions.
>
>
> Example 2 : added a 2nd voice. Voice one stems, slurs, and rests change,
> also as expected.
>
>
> Example 3 : I manually add \stemNeutral and \slurNeutral commands to music
> after Voice Two drops out. The position of the rests, however, doesn't
> change.
>
>
> Is there a quick way to return everything in Voice One, including the rests,
> to their default positions? ( i couldn't find a \restNeutral command ) Or,
> do i have to manually adjust each rest individually by typing in "b4\rest" ?
>
>
> If there isnt an existing command, how could I make my own "\restNeutral"
> command ? Or, better yet, a "\musicNeutral" which does it all?
>
>
> BTW I notate a lot of polyphonic music. This would be a real timesaver.
>
>
> Thanks in advance, again!
> dirck
>
>
>
> Example One code:
> \header{
> title = "example 1"
> }
>
>
> \relative c'
> {<<
> { c'( d) r f, d' r g,( a)
> c( d) r f, d' r g,( a) }
>
>
> >>
> }
>
>
>
>
> \version "2.24.1"
>
>
> Example Two code:
> \header{
> title = "example 2"
> }
>
>
> \relative c'
> {<<
> { c'( d) r f, d' r g,( a)
> c( d) r f, d' r g,( a) }
> \\
> { s1 c,4 d r4 f }
> >>
> }
>
>
>
>
> \version "2.24.1"
>
>
> Example Three code:
> \header{
> title = "example 3"
> }
>
>
> \relative c'
> {<<
> { c'( d) r f, d' r g,( a)
> \stemNeutral \slurNeutral c( d) r f, d' r g,( a) }
> \\
> { s1 c,4 d r4 f }
> >>
> }
>
>
>
>
> \version "2.24.1"