Get lyrics
get_lyricsTranscribes a track's vocals into timed lyric lines using an analysis ID or local audio file path, returning start/end times and word timings for synchronization.
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, and vocal_start when the vocal starts. Word timings ([word, start, end]) are
in the saved lyrics.json. A track without vocals comes back with no lines and
vocal_start null.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_lyrics"
}
}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 |