als_detect_key
Detect the musical key of a saved Ableton Live set file by analyzing MIDI clip notes, with options for track-specific analysis and note weighting.
Instructions
Detect the key/scale of a saved .als file WITHOUT Live running
(Krumhansl-Kessler). Pools notes from every MIDI clip in the set, or only
one track when track_index is given. weight selects the histogram
weighting ("duration", "velocity", "product", "count"). path is a
filesystem path to a .als file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| weight | No | duration | |
| track_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |