detect_session_key
Detects the overall key and scale of an Ableton Live set by analyzing MIDI notes from session clips using Krumhansl-Kessler analysis. Choose weighting method for histogram.
Instructions
Detect the overall key/scale of the whole set by pooling the notes of
every MIDI track's Session clips (Krumhansl-Kessler). Gives the harmonic
center of the arrangement as a whole. weight selects the histogram
weighting ("duration", "velocity", "product", "count"). Reads only.
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": "detect_session_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| weight | No | duration |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |