Measure BPM and key
analyze_trackMeasure BPM and musical key (with Camelot code) from the audio of a SoundCloud track, using a 30-second window starting at position ms. BPM is corrected for half/double-time errors using the track's genre. First call takes ~5–15 s; repeat calls are cached for 30 days. Limited to 6 calls per minute per client. Preview snippets (≤60 s) are rejected.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "analyze_track"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | SoundCloud track URL | |
| position | No | Start of the analysis window in ms; use it for long mixes |