fablecut_normalize_audio
Normalize audio clips to target LUFS or peak levels by measuring source audio and setting clip gain; linked stems share one gain for balanced mixes.
Instructions
Loudness-normalize clips: measures each clip's source audio (ITU-R BS.1770 integrated LUFS, or sample peak) after its channel routing and sets props.gain (clip gain, dB) so it lands on the target — the same measurement as the editor's Normalize button. Linked stems (a video's per-channel audio clips) are measured together and get one shared gain, so a stereo pair stays balanced; passing a video clip normalizes its stems. Volume keyframes / fades are untouched (they ride on top). Typical targets: -14 LUFS streaming/social, -16 LUFS podcast/dialogue, -23 LUFS broadcast, or mode 'peak' at -1 dBFS. Needs ffmpeg + ffprobe on PATH. Refuses locked clips unless force:true.
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": {
"clipIds": "<clipIds>"
},
"name": "fablecut_normalize_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Measure integrated loudness (default) or sample peak | |
| force | No | Also change clips the user locked (only when they asked) | |
| target | No | Target level: LUFS for mode lufs (default -14), dBFS for mode peak (default -1) | |
| clipIds | Yes | Clips to normalize (audio, or video with audio) |