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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| weight | No | duration |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |