reaper_level_segments
Align loudness across mix or podcast segments by applying one constant pre-FX gain per segment with short boundary ramps, respecting the true-peak ceiling and recording one undo step.
Instructions
Align the loudness of a mix's parts (tracks of a DJ mix, podcast segments) with one constant gain per segment in the pre-FX volume envelope and a short ramp at each boundary: a few points per mix, no riding inside a segment. Each segment is measured without its first/last 30 s (blends); neighbours with nearly the same correction are merged, boosts stop at the true-peak ceiling. One undo step.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "reaper_level_segments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Seconds; item extent if omitted | |
| start | No | Seconds; item extent if omitted | |
| track | No | Track number or name; the selected track if omitted (exactly one must be selected) | |
| ramp_s | No | Gain ramp length, centred on each boundary | |
| dry_run | No | ||
| replace | No | Ignore and overwrite the existing envelope in the range instead of multiplying onto it | |
| boundaries | No | Segment start times in seconds; region or marker positions if omitted | |
| max_gain_db | No | ||
| target_lufs | No | Integrated target per segment; loudness of the whole range if omitted | |
| ceiling_dbtp | No | Peak ceiling in dBTP for the signal entering the FX chain | |
| min_change_db | No | Smaller corrections are skipped and neighbours this close are merged |