Every common format
TTML, LRC (plain and enhanced), SRT, QRC and plain text, with background vocals, singers, translations and the songwriters’ credits.
braccato-kotlin is a Kotlin port of Braccato, the synchronized lyrics engine from Better Lyrics. It reads lyrics files, times every line and word against a player, and draws them with Compose Multiplatform, on the desktop JVM and on Android.
It is a port rather than a binding: there is no WebView and no JavaScript runtime. The code follows upstream file for file, so changes there can be carried over, and the views draw what upstream’s stylesheet draws, with its values.
Every common format
TTML, LRC (plain and enhanced), SRT, QRC and plain text, with background vocals, singers, translations and the songwriters’ credits.
Any player
Hand over the player’s position as it comes. The view carries it smoothly from frame to frame, even when the player reports it only ten times a second.
Two views
Scrolling lyrics with the word sweep, glow and letter wave, or a stage that shows only the line being sung.
Better Lyrics themes
A theme’s --blyrics-* properties and blyrics-* settings apply as they are.
| Module | What it does |
|---|---|
braccato-types |
The lyric shapes: lines, timed parts, sync types |
braccato-parsers |
Reads lyrics files into those shapes |
braccato-core |
Builds lines, times them and decides what scrolls where, without a UI |
braccato-compose |
Draws them with Compose: the scrolling view and the stage |
Most apps need braccato-compose and braccato-parsers; the other two come along with them.