media_mix_balance
Measure how far the voice sits above BGM in a finished mix by aligning and subtracting the voice track; returns mean difference and buried windows for judging BGM volume.
Instructions
Measure how far the voice stands above the BGM in a finished mix, given the voice-only track.
The voice track is aligned by cross-correlation and subtracted; the rest is BGM + SE. Returns the mean difference and buried_spans (windows where voice - BGM < min_db). Talk videos usually keep BGM 12-20 dB under the voice. Use this, not a model's ear, to judge BGM volume. Heavy EQ / reverb on the voice makes the BGM estimate too high. Per-window rows go to a JSON file.
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": {
"mix_path": "<mix_path>",
"voice_path": "<voice_path>"
},
"name": "media_mix_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| win | No | ||
| start | No | ||
| min_db | No | ||
| mix_path | Yes | ||
| out_path | No | ||
| session_id | No | ||
| voice_path | Yes | ||
| voice_start | No |