add_audio
Adds audio clips or music beds to the FCPXML timeline, with control over role, lane, offset, and duration for precise placement.
Instructions
Add an audio clip or music bed to the timeline
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| src | No | Path to audio file (creates new asset) | |
| lane | No | Lane number (negative = below) | |
| role | No | Audio role (dialogue, music, effects, etc.) | dialogue |
| offset | No | Position relative to parent clip start | 0s |
| asset_id | No | Existing asset reference ID | |
| duration | No | Duration of audio clip | |
| filepath | Yes | Path to FCPXML file | |
| output_path | No | Output path | |
| parent_clip_id | No | Clip to attach audio to (omit for music bed spanning full timeline) |