Thanks, Werner and Knute.

I now see that this page
<https://lilypond.org/doc/v2.24/Documentation/notation/multiple-voices> says
that "in all but the simplest works it is advisable to create explicit
Voice contexts," which is a warning against what I was doing. I'm still
curious as to why the "<< { } \\ { } >>" voices interact with the tuple
bracket to get an unexpected result, but I suppose that it doesn't matter.

Best,
Mikhail

On Sat, Mar 29, 2025 at 6:10 PM Knute Snortum <ksnor...@gmail.com> wrote:

> 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