arrangement_edit_clip
Modify a single timeline clip: move it, resize it, mute it, rename it, or set its gain. Unspecified fields remain unchanged, making targeted arrangement edits undoable.
Instructions
Change one timeline clip (index from arrangement.get): move it, change its length (MIDI grows or shrinks, audio only shrinks), mute it, rename it, set its gain. Fields left out stay. E.g. mute the bass in the second half of a drop after copying it there. Undoable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip | Yes | Timeline clip index on the track, from arrangement.get. | |
| name | No | Clip name. | |
| muted | No | Silence the clip without removing it. | |
| track | Yes | Track id (UUID string from tracks.list, stable) or 0-based index (shifts when tracks are added or moved). | |
| gain_db | No | Clip gain in dB. | |
| start_beat | No | Move the clip to start here. | |
| length_beats | No | New length. |