formatTransString

Format transcription data as .trans/phrases JSON: an array of phrase objects (id, lyrics, time_stamp, trans[]).

Inverse of SonixParser.parseTransString.

Return

JSON file content.

Parameters

data

Transcription data (phrases with note-level transcription).