plan_ducking
Analyzes voice-track activity to compute music regions that duck under speech and return to full volume between speech, producing per-region volume levels for rough-cut assembly.
Instructions
Compute a music-ducking plan: analyze when the voice track is active and return music regions with per-region volume levels (ducked under speech, full between speech). The plan is a list of {inSecs, outSecs, volume} cut regions you feed to assemble_rough_cut as the music asset's keptRegions (one per region, same in/out, different volume). Explicit dials: duckVolume, threshold, padding — no hidden "auto enhance".
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": {
"voiceMediaPath": "<voiceMediaPath>",
"musicDurationSecs": "<musicDurationSecs>"
},
"name": "plan_ducking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duckVolume | No | Music gain during speech (0.2 = strongly ducked, 0.4 = gentle) | |
| fullVolume | No | ||
| paddingSecs | No | Ease margin around speech boundaries | |
| musicStartSecs | No | ||
| noiseThreshold | No | -30dB | |
| voiceMediaPath | Yes | Dialogue/voice file — its detected speech defines when to duck | |
| musicDurationSecs | Yes | Total music length to plan over |