create_scale_melody_clip
Generate or plan an exact scale-degree melody in an empty Ableton Live Session clip. It binds key, meter, grid, and destination, then verifies each note during native execution.
Instructions
Plan or create one exact scale-degree melody in an empty Session clip. Binds Live key, meter, grid, destination, and state; native execution verifies every generated note.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gate | Yes | Note duration as a fraction of one selected grid step. | |
| grid | Yes | ||
| name | Yes | New melody clip name. | |
| clipId | Yes | list_clips Session ID or supported list_arrangement_clips ID. | |
| dryRun | No | False executes with token and hash. | |
| events | Yes | Explicit scale-degree events; omitted grid steps are rests. | |
| repeats | Yes | ||
| trackId | Yes | ID from list_tracks. | |
| maxPitch | Yes | ||
| minPitch | Yes | ||
| planHash | No | Plan hash. | |
| velocity | Yes | Default note velocity. | |
| basePitch | Yes | MIDI pitch for scale degree one. | |
| motifBars | Yes | ||
| confirmationToken | No | Single-use plan token. | |
| expectedStateVersion | Yes | Observed stateVersion. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||