Staff-initial tuplet bracket extent bug
Trevor Bača <[email protected]> Wed, 4 Jun 2025 14:17:28 -0400
| Newsgroups | gmane.comp.gnu.lilypond.bugs |
|---|---|
| Message-ID | <CACTvJ4VqYfA9M74yDdCgSBk4D561o1emUmonFKCHSA-CTtKYBw@mail.gmail.com> |
Hi,
The extent of the outer tuplet bracket (4:5) below is incorrect; the outer
tuplet bracket should cover both inner tuplets, but it instead covers only
the second of the two inner tuplets:
%%% BEGIN %%%
\new Staff
{
\tweak text #tuplet-number::calc-fraction-text
\tuplet 4/5
{
\tuplet 3/2
{
\time 5/4
c'4
d'4
e'4
}
\tuplet 3/2
{
c'4
d'4
e'4
}
}
}
%%% END %%%
[image: incorrect-tuplet-bracket-extent.png]
The bug appears narrow; the output above is corrected if ...
1. the lexical position of `\time 5/4` is moved out of the innermost
tuplet, or
2. `\new Staff` is changed to `\new Voice`, or
3. any note, rest or chord is introduced before the tuplets, or
4. `\set tupletFullLength = ##t` is added to the example.
The correct output looks like this:
[image: correct-tuplet-bracket-extent.png]
Trevor.
--
Trevor Bača
www.trevorbaca.com
soundcloud.com/trevorbaca
incorrect-tuplet-bracket-extent.png
(image/png, 10.8 KB) - not displayed
correct-tuplet-bracket-extent.png
(image/png, 10.5 KB) - not displayed