Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭 适合新手
#2,973 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
69/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃

调研方向

在渲染代码和测试中搜索三连音律动标记,然后追查为什么该标记会按声部各输出一次。比较多声部小节中速度标记和段落标记的处理方式。使用提供的 alphaTex 示例复现重复问题;无论声部数量多少,每次律动变化只出现一个标记即为完成。

由索引模型根据 Issue 内容生成。

描述

ai-authored

[!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

主要语言
TypeScript
星标
1.9k
派生
297
平均合并
9 小时 2 分钟
30 天内合并 PR
44

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

CoderLine/alphaTab 的其他 Issue

查看 CoderLine/alphaTab 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。