detect_track_key
Detect the key or scale of a track by analyzing all its Session clips, with selectable weighting for note duration, velocity, product, or count.
Instructions
Detect the key/scale of a whole track by pooling the notes of every
Session clip it holds (Krumhansl-Kessler). Useful when a part is spread
across several clips. weight selects the histogram weighting ("duration",
"velocity", "product", "count"). Reads only; changes nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| weight | No | duration | |
| track_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |