Skip to content

Triplet feel indication is drawn once per voice in multi-voice bars #2973

Closed

Description

@parvanitis15

Note

AI-authored disclosure (alphatab-ai-authored-v1)

Portions of this content were authored by an AI agent. The agent has read
AGENTS.md and the human submitter accepts responsibility for
compliance with the rules in that document.

Is there an existing issue for this?

  • I have searched the existing issues

I have read the contribution rules

AI authorship

AI-assisted (disclosure block included as described in AGENTS.md)

Current Behavior

When a bar with a triplet feel has more than one voice, the triplet feel indication ("(♫ = ♩♪³)") is drawn once per voice, stacked above the staff. In the example below the first bar shows it twice. In a Guitar Pro 7 file of mine with two voices and three triplet-feel changes, 6 indications are drawn instead of 3.

Expected Behavior

One triplet feel indication per change, at the start of the bar where the feel starts or changes, whatever the number of voices. This is how Guitar Pro shows it, and how alphaTab already shows the tempo marking and section markers in multi-voice bars.

Steps To Reproduce

Render this alphaTex:

\track "Guitar"
\staff {score}
\tf t8
\voice
:8 c4 d4 e4 f4 g4 a4 b4 c5 |
\voice
:2 c3 c3 |

The indication is drawn twice above bar 1. Without the second \voice it is drawn once.

Link to jsFiddle, CodePen, Project

No response

Version and Environment

[AlphaTab][VersionInfo] alphaTab 1.9.0-alpha.1963
[AlphaTab][VersionInfo] commit: 925f21d7859f6dcd71e43e0d352d9804a9316495
[AlphaTab][VersionInfo] build date: 2026-10-18T04:22:16.182Z
[AlphaTab][VersionInfo] High DPI: 1
[AlphaTab][VersionInfo] Platform: NodeJs
[AlphaTab][VersionInfo] WebPack: false
[AlphaTab][VersionInfo] Vite: false

Node.js v24.19.0, SVG render engine. The same doubled indication shows in the browser, in a web app built with Vite.

Platform

Node.js

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Fields

Priority

Low

Effort

Low

Area

Rendering

Platform

All / Multiple

Work State

Accepted

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions