parseLRC
fun parseLRC(lrcText: String, songDurationMs: Double, options: InstrumentalBreakOptions = InstrumentalBreakOptions()): List<Lyric>(source)
Parse an LRC document, plain or enhanced, into lines with optional word level parts.
Timings are returned as the document states them. LRCParser.parse runs lrcFixers over the result afterwards, which is right for Musixmatch word-by-word lyrics and wrong for sources whose timings are already clean, so callers that know their source can stay on this function.
Blank lines are not lyrics. Each one ends the line before it, and the silences that leaves, along with any before the first line or after a line's closing timestamp, become instrumental lines on the same terms as the TTML gap fill.