audio_import
Load a WAV, AIFF, FLAC, MP3, or OGG file into a track's clip slot, then place it on the timeline with arrangement.place_clip. Requires file access enabled in Omni's Settings.
Instructions
Load an audio file (WAV, AIFF, FLAC, MP3, OGG) into a session slot of an audio track, as dropping it from the browser does; arrangement.place_clip then puts it on the timeline. Needs file access, granted in Omni's Settings (AI Create). Undoable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path of the audio file. | |
| slot | Yes | 0-based clip slot (scene row) on the track. | |
| track | Yes | Track id (UUID string from tracks.list, stable) or 0-based index (shifts when tracks are added or moved). |