measure_loudness
Measures integrated LUFS, short-term/momentary max, loudness range, sample peak, true peak for REAPER master, track, or item. Runs dry render, no file writes, with time range option.
Instructions
Measure loudness as REAPER's loudness window does: integrated LUFS, short-term and momentary max, loudness range, sample peak, plus true peak.
Target: the master (default), a track, or one item (its track's output over the item, other items muted). start_time/end_time limit it to a range. It runs a render dry run, so it writes no files, puts selections back and adds no undo step. Measuring the master marks the project as modified, even though nothing in it changes.
Returns: integrated_lufs, short_term_max_lufs, momentary_max_lufs, loudness_range_lu, sample_peak_dbfs, true_peak_dbtp, samples_over_0dbfs, duration; a note when a figure is approximate or unavailable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_time | No | ||
| item_index | No | ||
| start_time | No | ||
| track_index | No |