On 2025-06-10 08:10, Jean Bréfort wrote:
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 }
>>
}
or simply finish the << {...} \\ {...} >> construct when the multi voice
section ends:
\relative c'
{<<
{ c'( d) r f, d' r g,( a) }
\\
{ s1 c,4 d r4 f }
>>
c'( d) r f, d' r g,( a)
}
However, if you have music that switches back and forth between single
and double voices it might be more convenient to keep both voices alive
and use \oneVoice when going to single voice and \voiceOne (in the upper
line) when reverting to multiple voices:
\relative c'' <<
{
c4( d) r f, |
d' r g,( a) |
\oneVoice % start of single voice passage
c( d) r f, |
\voiceOne % resume multiple voices
d' r g,( a) |
}
\\
\relative c' {
s1 |
c4 d r f |
s1 |
c4 d r f |
}
>>
(I took the liberty to reformat your example a bit according to my habit
of writing a single measure per line and inserting bar checks at the end
of each measure, which helps a lot when looking for typos).
/Mats