create
Adds tracks, scenes, MIDI or audio clips, arrangement clips, and take lanes in Ableton Live, returning the new object's address.
Instructions
Create a track, return track, scene, MIDI clip, audio clip, arrangement clip or take lane and get back its address. kind: audio_track, midi_track, return_track (always appended), scene, audio_clip (address of an EMPTY slot on an audio track and path: an absolute path to an audio file; it is auto-warped by Live's settings and the result reports its length), arrangement_midi_clip (address of a track or take lane, time in beats on the timeline, length default 4) and arrangement_audio_clip (address, time, path), take_lane (address of a track), midi_clip (address of an EMPTY clip slot like 'tracks/2/slots/0', length in beats, default 4). Cue points cannot be created (Live only toggles them at the arrangement insert marker, which is UI state). For tracks and scenes index is the insertion position (0-based; omit or -1 to append; existing objects shift, so re-read addresses afterwards). Optional name and color (RGB integer; Live snaps it to the nearest palette colour and the result reports the colour it applied) are applied immediately. One undo step.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | What to create | |
| name | No | Name to give it | |
| path | No | audio_clip: absolute path of the audio file | |
| time | No | arrangement clips: position in beats | |
| color | No | RGB color integer | |
| index | No | Insertion position, -1 (default) appends | |
| length | No | midi_clip: length in beats (default 4) | |
| address | No | midi_clip, audio_clip: the empty clip slot to fill, e.g. 'tracks/2/slots/0' |