ass_karaoke_get
Reads parsed karaoke data for a single line in an ASS subtitle document, returning syllable timings, tags, and duration discrepancies.
Instructions
Read the parsed karaoke of one line.
Arguments
index 0-based line index (doc.events() order) of an open document.
doc_id open document id (defaults to the current one).
Returns
{"text_source": "line", "index", "doc_id", "line": {...}, "has_karaoke_tags", "untimed", "timings_source", "syllables": [{"index", "text", "raw", "prefix", "kind", "duration_cs", "duration_ms", "start_ms", "end_ms", "start", "end"}], "duration_sum_cs", "duration_sum_ms", "line_duration_cs", "discrepancy_cs", "matches_line_duration", "message", "kind_counts", "kinds"}
start_ms/end_ms are absolute (the line's Start is time zero
internally, the line's own start is added). discrepancy_cs is
sum(syllable durations) - line duration in centiseconds and is reported
explicitly, never corrected here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| doc_id | No |