place_clip_in_arrangement
Place an empty MIDI clip at a specified timeline position in the Arrangement View. Set track index, start position in beats, and clip length to prepare for adding MIDI notes.
Instructions
Create a MIDI clip directly in the Arrangement View at a specific timeline position. Requires Ableton Live 10.1+ and a MIDI track.
position_beats: start position in beats from the song start (e.g. 0.0 = bar 1, 4.0 = bar 2 in 4/4). length_beats: clip length in beats (e.g. 4.0 = 1 bar in 4/4, 16.0 = 4 bars). name: optional clip name.
After creating, use add_notes to populate it with MIDI content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_index | Yes | ||
| position_beats | Yes | ||
| length_beats | No | ||
| name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |