LyricLine
Defined in: types/index.ts:124
一个主歌词行
Extends
Section titled “Extends”Properties
Section titled “Properties”| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
agentId? | string | 演唱者 ID 可用于在 metadata.agents 中查找具体名字 | - | types/index.ts:137 |
backgroundVocal? | BackgroundVocal | 背景人声内容 | LyricBase.backgroundVocal | types/index.ts:118 |
blockIndex? | number | 所属的递增区块索引 用于区分连续出现但属于不同 div 的同名 songPart | - | types/index.ts:151 |
endTime | number | 结束时间,单位毫秒 | LyricBase.endTime | types/index.ts:96 |
id? | string | 行 ID 例如 “L1”, “L2”… | - | types/index.ts:130 |
romanizations? | SubLyricContent[] | 音译内容 | LyricBase.romanizations | types/index.ts:113 |
songPart? | string | 歌曲结构组成 例如: “Verse”, “Chorus”, “Intro”, “Outro” | - | types/index.ts:144 |
startTime | number | 开始时间,单位毫秒 | LyricBase.startTime | types/index.ts:91 |
text | string | 完整的文本内容 - 如果是逐字歌词,这里是所有字拼接后的结果 | LyricBase.text | types/index.ts:86 |
translations? | SubLyricContent[] | 翻译内容 | LyricBase.translations | types/index.ts:108 |
words? | Syllable[] | 逐字音节信息 如果数组为空或未定义,一般就是逐行歌词 | LyricBase.words | types/index.ts:103 |