parseTTMLContent
fun parseTTMLContent(xml: String, options: ParseTTMLOptions = ParseTTMLOptions()): ParsedTTML(source)
Parses a TTML document (Apple Music's, and the community formats built on it): lines, word or syllable timing, background vocals, singers, translations and romanizations. TTMLParser calls this with the default options; call it directly for the song's duration or another gap threshold.