syncalong.formatter¶
Render aligned lyrics as an LRC document with [mm:ss.xx] timestamps.
formatter ¶
Format aligned lyrics as LRC (standard timed lyrics format).
format_lrc ¶
Render aligned lyrics as an LRC document.
Lines with no timestamp are emitted without a time tag (some players show them statically). Blank lines become empty timed lines to preserve the song's visual structure.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
timed_lines
|
list[tuple[LyricLine, float | None]]
|
|
required |
Returns:
| Type | Description |
|---|---|
str
|
The LRC document, newline-terminated. |