create_scale_melody_clip
Create an exact scale-degree melody in an empty Ableton Live Session clip by specifying grid steps, degrees, gate, velocity, and repeats, with native verification of all notes.
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 | Stable clip ID: track-N:clip-M from list_clips, or track-N:arrangement-clip-M from list_arrangement_clips for tools that support Arrangement clips. | |
| dryRun | No | Omit or true to return a plan; false requires a valid confirmationToken. | |
| events | Yes | Explicit scale-degree events; omitted grid steps are rests. | |
| repeats | Yes | ||
| trackId | Yes | Stable track ID returned by list_tracks. | |
| maxPitch | Yes | ||
| minPitch | Yes | ||
| planHash | No | Hash returned by the matching dry run. | |
| velocity | Yes | Default note velocity. | |
| basePitch | Yes | MIDI pitch for scale degree one. | |
| motifBars | Yes | ||
| confirmationToken | No | Short-lived, single-use token returned by the matching dry run. | |
| expectedStateVersion | Yes | Exact stateVersion observed immediately before planning. |