audio_detect_key
Detect the musical key of an audio file, returning root note, mode (major/minor), and confidence. Uses chromagram analysis with Krumhansl-Schmuckler profiles for tonal pop/jazz.
Instructions
Detect the musical key of an audio file. Returns root note + mode (major/minor) with confidence 0..1. Uses chromagram + Krumhansl-Schmuckler key profiles. Reliable on tonal pop/jazz; less reliable on percussion-heavy or atonal material.
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_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes |