On Sat, Mar 29, 2025 at 3:04 PM Werner LEMBERG <w...@gnu.org> wrote:

>
> > In this example, I have created a tuplet that contains two eighth
> > rests followed by two simultaneous eight notes (each in its own
> > voice). I would expect the tuplet bracket to extend over both the
> > rests and the notes, but it only extends over the rests. See the
> > attached image.
> >
> > \version "2.24.3"
> >
> > \new Staff {
> >     \tuplet 3/2 { r8 r <<{ f'8 }\\{ c'8 }>> } r4 r2 |
> > }
>
> The reason is that the voices in the `<< { } \\ { } >>` construction
> are by default differently named, namely "1" and "2".  The 'normal'
> voice is unnamed (i.e., its name is empty).  Try this.
>
>
> ```
> \new Staff {
>   \tuplet 3/2 {
>     r8 r
>     \voices "",2 << { f'8 } \\ { c'8 } >>
>   } r4 r2 |
> }
> ```
>

Using the "\new Voice" construct also works:

%%%
\version "2.24.3"

\new Staff {
    \tuplet 3/2 { r8 r << { f'8 } \new Voice { \voiceFour c'8 } >> } r4 r2 |
}
%%%

--
Knute Snortum

Reply via email to