create_audio_clip
Import an audio file into an empty clip slot on an audio track in Ableton Live. Specify track index, clip index, and file path.
Instructions
Create a new audio clip in an audio track's clip slot by importing a file.
Requires Ableton Live 12.0.5 or newer - the underlying ClipSlot.create_audio_clip Live API was introduced in 12.0.5 and is not available in earlier 12.0.x releases.
Parameters:
track_index: The index of the audio track to create the clip in
clip_index: The index of the clip slot to create the clip in
path: Absolute path to a supported audio file (e.g. a .wav). The target track must be an audio track and the clip slot must be empty.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| clip_index | Yes | ||
| track_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |