create_clip
Create a new empty MIDI clip in a specified track and clip slot, with adjustable length in beats.
Instructions
Create a new empty MIDI clip in a clip slot.
Parameters:
track_index: The track index (0-based)
clip_index: The clip slot index (0-based)
length: Clip length in beats (default 4.0 = 1 bar in 4/4)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length | No | ||
| clip_index | Yes | ||
| track_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |