Accompanist Lyrics Core¶
The core logic library for parsing, manipulating, and exporting lyrics.
This module is a Kotlin Multiplatform library that provides:
- Universal Parsing: Support for LRC (
.lrc), Kugou KRC (.krc), and TTML (Apple Music) formats. - Unified Model: A standardized
SyncedLyricsmodel that abstracts away format differences. - Smart Detection:
AutoParserandLyricsFormatGuesserto automatically identify and parse lyrics. - Exporting: Convert your lyrics back to standard formats.
Features¶
- Zero Android Dependency: Pure Kotlin, runs on JVM, Android, iOS, Wasm, etc.
- High Performance: Optimized parsing for large files.
- Extensible: Easy to add new parsers and exporters.
Installation¶
Add the dependency to your version catalog or build.gradle.kts:
Replace VERSION with the latest version from Maven Central.