Skip to main content
Version: v3.0.0 (current)

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;
}
FieldMeaning
timestampStart in milliseconds, or null for unsynced lyrics.
durationLength in milliseconds when supplied or derived from NodeLink start/end timing; otherwise null. Also null for unsynced lyrics.
lineTrimmed 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.