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

Add Optional Settings below-tab lyric placement for tab-only and standard+tab layouts

未关闭
#2,776 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@Danielku15 已经在做这个了。

开始于 2026年7月10日。

评估

这个 Issue 还没有评估数据。

描述

Discussed in https://github.com/CoderLine/alphaTab/discussions/2761

Originally posted by AvaTheArchitect July 3, 2026

Summary

This is a feature request for optional lyric placement in tab-focused layouts.

Currently, lyrics render above the tab staff. That may be expected current behavior, but in tab-only or standard+tab guitar layouts, lyrics can compete with bends, dive bombs, slides, vibrato, technique text, and other above-staff guitar effects.

The request is to add an option to render lyrics below the tab staff.

Problem

For guitar tracks, the area above the tab staff is often already occupied by guitar-specific notation:

  • full bends
  • dive bombs / whammy effects
  • slides
  • vibrato
  • technique text
  • phrase markings
  • other effect lanes

When lyrics are also placed above the tab staff, the renderer may need a large amount of vertical space to avoid collisions. Even with improved skyline/effect positioning, above-staff lyrics can still be a poor fit because the upper lane is already crowded by guitar notation.

This is especially visible in tab-only layouts or standard+tab layouts where lyrics would often be more readable below the tab staff.

Requested behavior

Add an option to place lyrics below the tab staff in tab-focused layouts.

Possible API shape:

tabLyricsPosition: "above" | "below" | "hide"
Expected behavior:
  • In tab-only layouts, allow lyrics below the tab staff.
  • In standard+tab layouts, allow lyrics below the tab staff rather than competing with above-staff guitar effect lanes.
  • Allocate appropriate below-staff spacing so lyrics do not overlap the next system.
  • Preserve current above-staff behavior as the default if preferred.
  • Optionally support hiding lyrics, matching the common notation-editor behavior.

Reference behavior

Guitar Pro provides a lyrics placement option under text/style settings with choices such as:

  • Above Staff
  • Below Staff
  • Hide

The attached Guitar Pro screenshots show this setting directly.

This makes tab-focused guitar layouts more readable when the upper staff area is occupied by bends, dive bombs, and other guitar effects.




Screenshot 2026-07-03 at 8 54 23 AM





Image 1 — Problem example
In the attached Guns N’ Roses example, the lead guitar track includes lyrics plus upper-staff guitar effects. Because the lyrics are above the tab staff, they compete with bends/divebombs/effects and require significant vertical headroom.




Screenshot 2026-07-03 at 12 15 02 PM





Image 2 — Expected visual direction / proof of concept
The attached Maestro screenshot shows a custom below-staff lyric overlay rendered under the tab staff. This is not being proposed as the exact implementation for alphaTab, but it demonstrates the layout goal:

  • lyrics sit below the tab staff
  • the upper effect lanes remain available for guitar techniques
  • the tab-focused layout becomes easier to read





Screenshot 2026-07-03 at 12 26 22 PM




Image 3 — Guitar Pro setting
Guitar Pro stylesheet setting showing Lyrics set to Below Staff.




Screenshot 2026-07-03 at 12 25 05 PM


Image 4 — Guitar Pro available options
Guitar Pro dropdown showing Above Staff, Below Staff, and Hide.




Screenshot 2026-07-03 at 12 25 17 PM


Image 5 — Guitar Pro available options (expanded menu drawer)

Guitar Pro dropdown showing Above Staff, Below Staff, and Hide.

主要语言
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 摘要。