parse Trans String
Parse transcription data from a string (.trans JSON format).
JSON format: array of segments, each with:
id: segment identifier
lyrics: text lyrics
time_stamp: start, end timestamps in seconds
trans: array of notes with t_start, t_end, freqHz, label
Example:
[{"id": 3, "lyrics": "S... R...", "time_stamp": [3.18, 14.18], "trans": [...]}]Content copied to clipboard
Return
Parsed transcription data, or null if parsing failed
Parameters
content
String containing JSON transcription data