Skip to content

feat: tx 源支持逐字音译歌词#2851

Open
ikun0014 wants to merge 1 commit into
lyswhut:devfrom
ikun0014:feat/tx-romaji-wordbyword
Open

feat: tx 源支持逐字音译歌词#2851
ikun0014 wants to merge 1 commit into
lyswhut:devfrom
ikun0014:feat/tx-romaji-wordbyword

Conversation

@ikun0014

@ikun0014 ikun0014 commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

解析 tx 罗马音(音译)时构建结构化字网格,让音译每个音节复用主歌词同行同索引字的相对偏移/时长,与主歌词同时间网格、同索引,font-player 即可联动卡拉OK逐字高亮。

  • parseLyric / parseRlyric 额外输出 lines 字网格
  • 新增 buildWordByWordRlyric:音节数与主歌词字数一致时逐字化,否则该行降级纯文本;任一行失败则整体回退 fixRlrcTimeTag 纯文本路径

本 PR 独立,不依赖其他未合并 PR。

解析 tx 罗马音(音译)时构建结构化字网格,让音译每个音节复用主歌词
同行同索引字的相对偏移/时长,与主歌词同时间网格、同索引,
font-player 即可联动卡拉OK逐字高亮。

- parseLyric / parseRlyric 额外输出 lines 字网格
- 新增 buildWordByWordRlyric:音节数与主歌词字数一致时逐字化,
  否则该行降级纯文本;任一行失败则整体回退 fixRlrcTimeTag 纯文本路径

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant