music_clip
Clip or loop an audio track with FFmpeg, using hook-window starts, fades, and LUFS normalization to produce a consistent loudness output.
Instructions
Clip/loop an audio track with FFmpeg, supporting hook-window start, fades, and LUFS normalization.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target": "<target>",
"output": "<output>"
},
"name": "music_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loop | No | ||
| start | No | Start time in seconds | |
| output | Yes | Output audio file path | |
| target | Yes | Track ID or local audio file path | |
| fade_in | No | ||
| duration | No | Output duration in seconds | |
| fade_out | No | ||
| use_hook | No | Auto-start at detected hook window | |
| normalize_lufs | No | Target LUFS loudness, e.g. -14 |