create_clip
Create an empty MIDI clip in an empty Session slot on an Ableton MIDI track; specify track, slot, and beat length, with dry_run to validate before committing.
Instructions
Create an empty MIDI clip in an empty Session slot.
Side effects: creates a clip in one undo step.
Example: create_clip(0, 1, 4.0) creates a four-beat clip.
Edge cases: only empty slots on MIDI tracks accept this operation. With
dry_run=True, the change is validated but not committed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| clip_index | Yes | ||
| track_index | Yes | ||
| length_beats | Yes |