Package-level declarations

Types

Link copied to clipboard
data class Lyric(var startTimeMs: Double, var words: String, var durationMs: Double, var key: String? = null, var parts: MutableList<LyricPart>? = null, var agent: String? = null, var translations: MutableMap<String, String>? = null, var translation: LyricTranslation? = null, var romanization: String? = null, var timedRomanization: MutableList<LyricPart>? = null, var isInstrumental: Boolean? = null)

One line of lyrics, as the parsers produce it and buildLyrics takes it.

Link copied to clipboard
data class LyricPart(var startTimeMs: Double, var words: String, var durationMs: Double, var isBackground: Boolean? = null, var explicit: Boolean? = null, var backgroundGroup: Int? = null)

One timed piece of a line: a word, a syllable, or a run of words sung together.

Link copied to clipboard

How finely a song's lyrics are timed: RICHSYNC word by word, SYNCED line by line, NONE not at all.

Link copied to clipboard
data class LyricTranslation(val text: String, val lang: String)

The single-language shape translation had before translations existed.