reaper_analyze_levels
Measure RMS levels (dBFS) per window for a REAPER track and return overall, section, and window stats to identify quiet or loud passages and intentional dynamics.
Instructions
Measure RMS level (dBFS) of a track's items per window, read-only. Returns overall stats (median, p10/p90, spread), per-section stats (regions, or spans between markers) and the per-window levels, so you can spot quiet/loud passages and intentional dynamic sections.
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": {
"track": "<track>"
},
"name": "reaper_analyze_levels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Range end; last item end if omitted | |
| unit | No | 'seconds', 'beats' (quarter notes from project start) or 'bars' (1-based, fractional allowed) | bars |
| start | No | Range start; first item start if omitted | |
| track | Yes | Track number as shown in REAPER (1-based, 0 = master) or exact track name | |
| window | No | Analysis window size in `unit` | |
| gate_db | No | Windows quieter than this (dBFS RMS) count as silence and are never boosted |