midi_estimate_key
Estimates the key of a MIDI clip from an Ableton Live .als file using the Krumhansl-Schmuckler algorithm, returning tonic, mode, and confidence.
Instructions
Estimate the key of a MIDI clip in an .als file using the Krumhansl-Schmuckler algorithm. Returns tonic, mode, and confidence.
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": {
"path": "<path>",
"track_index": "<track_index>",
"clip_index": "<clip_index>"
},
"name": "midi_estimate_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| clip_index | Yes | ||
| track_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||