NormalizedLyricsLine
Since 3.0.0.
Definition
export interface NormalizedLyricsLine {
/** Start of the line in milliseconds. Null when the lyrics are not synced. */
timestamp: number | null;
/** Length of the line in milliseconds, when the source sends it. */
duration: number | null;
/** The line text, trimmed. An empty string marks a break between verses. */
line: string;
}
| Field | Meaning |
|---|---|
timestamp | Start in milliseconds, or null for unsynced lyrics. |
duration | Length in milliseconds when supplied or derived from NodeLink start/end timing; otherwise null. Also null for unsynced lyrics. |
line | Trimmed lyric text; an empty string is a verse break. |
NormalizedLyrics defines the synchronization checks. Raw per-word and plugin data are not copied into this type. LyricsUtils.parseLrc returns these entries directly with parsed millisecond timestamps and duration: null; it does not itself apply the full-result synchronization check.