Get lyrics
get_lyricsTranscribe a track's lyrics into timed lines and full text from an existing analysis or local audio file. Returns line start/end times, section lyrics, and instrumental status.
Instructions
Transcribe a track's lyrics as timed lines.
Give the analysis_id from segment: nothing is uploaded and it is included in that analysis's
run. A file_path runs segment first (one run). Lyrics read the vocal stem, which Audial makes
automatically after each analysis: right after a new analysis this waits for it (a few
minutes). metadata.lines has one {start, end, text} per line in seconds on the track's
timeline, lyrics the whole text and section_lyrics one entry per section. Word timings
are in the saved lyrics.json. An instrumental comes back with is_instrumental true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | No | Full path to a local audio file (.wav, .mp3, .aif, .aiff, .flac, .m4a, .ogg, .aac). ~ is expanded. For a track that has not been analysed yet: segment runs on it first (one run). Give this or analysis_id. | |
| analysis_id | No | The analysis_id a segment result returned (in its metadata and summary). Reuses that analysis: nothing is uploaded and it does not count as another run. Give this or file_path. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| files | Yes | ||
| summary | Yes | ||
| metadata | Yes | ||
| output_dir | Yes | ||
| execution_id | Yes |