Table of Contents

Class LrcLine

Namespace
ModernLrc.Model
Assembly
ModernLrc.dll

A single lyric line. Sealed hierarchy: every LrcLine is exactly one of LrcPlainLine or LrcEnhancedLine.

public abstract record LrcLine : IEquatable<LrcLine>
Inheritance
LrcLine
Implements
Derived
Inherited Members
Extension Methods

Remarks

Each line carries exactly one Timestamp. LRC files written as [t1][t2]text are parsed as N lines sharing the same content; the writer can re-collapse them via CollapseIdenticalLines.

Properties

EffectiveVoice

Resolved voice state — either propagated from a prior explicit marker or the document default.

public LrcVoice EffectiveVoice { get; init; }

Property Value

LrcVoice

Timestamp

The timestamp at which this line plays.

public required LrcTimestamp Timestamp { get; init; }

Property Value

LrcTimestamp