duplicate_clip
Copy or move a clip between Session slots, the arrangement, or within the arrangement. Specify destination track, slot, or time in beats or bar.beat.sixteenth.
Instructions
Copy (or move=True) a clip: Session -> Session slot, Session -> arrangement, or arrangement -> arrangement.
to_slot: empty Session slot (default: next empty slot below, same track). to_time: arrangement time in beats or "bar.beat.sixteenth" (arrangement sources default to right after themselves). to_track defaults to the same track. Clip envelopes travel with the copy. Occupied slots and overlapping arrangement ranges are refused. Example: duplicate_clip(track="Drums", slot=0, to_time="9.1.1").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| move | No | ||
| slot | No | ||
| track | Yes | ||
| to_slot | No | ||
| to_time | No | ||
| to_track | No | ||
| arrangement_clip | No |