Boost Audio - Audio Trimmer
boost_audio_trimmerTrim a section of an MP3 or WAV file with optional fade in/out. Use this when the user wants to cut a fragment from a longer recording.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_sec | No | End of the kept range, in seconds. | |
| fade_in | No | Fade-in length in seconds (default 0). | |
| fade_out | No | Fade-out length in seconds (default 0). | |
| audio_url | No | Optional public URL to an audio/video file. If omitted, the user uploads the file in the rendered widget. | |
| file_name | No | Original file name. Required when audio_base64 is provided. | |
| file_type | No | Original mime type. Required when audio_base64 is provided. | |
| start_sec | No | Start of the kept range, in seconds. | |
| file_token | No | Token for a pre-uploaded large file (>22 MB). Obtained from POST /widget-api/upload-raw. Used instead of audio_base64 for large files. | |
| audio_base64 | No | Optional base64-encoded audio file payload. Used by the widget when the host iframe blocks CORS fetches. |