audio_compose
Mix multiple WAV tracks with per-track volume, start offsets, and looping into a single timed output file. Set total duration and output path for layered audio composition.
Instructions
Layer multiple audio tracks with volume mixing.
Mix multiple WAV files together with individual volume control.
Args: tracks: List of track configs with: - file: Absolute path to WAV file - volume: Volume multiplier 0-1 - start: Start time offset in seconds - loop: Whether to loop the track (default false) duration: Total output duration in seconds. output_path: Absolute path for the output WAV file.
Returns: Dict with success status and output_path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tracks | Yes | ||
| duration | Yes | ||
| overwrite | No | Explicitly allow replacing existing media. Existing non-media files are protected. | |
| output_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||