audio_detect_tempo
Detect the tempo of an audio file in beats per minute, using onset autocorrelation within a configurable BPM range. Outputs a confidence-scored BPM for use in music production workflows.
Instructions
Detect the BPM of an audio file via onset autocorrelation. bpm_range bounds the search (default 60..180). Returns a single BPM with confidence 0..1. Works well on EDM/pop loops with a kick on every beat; less reliable on free-tempo or sparse music.
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": {
"file_path": "<file_path>"
},
"name": "audio_detect_tempo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bpm_max | No | ||
| bpm_min | No | ||
| file_path | Yes |