跳转到内容

LyricLine

Defined in: types/index.ts:124

一个主歌词行

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