mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 12:44:11 -10:00
Limiting takes loudness off, and master_gained made it up a dB for a dB in three passes. On a gambit range demo (rifle cracks over a quiet bed, the limiter eating most of the gain) that stopped 1.8 LU short: -15.8 LUFS against -14. Each pass now steps by what the last one's gain bought (a secant, slope clamped 0.05..1, step clamped 12 dB), up to 8 passes or within 0.1 LU: the demo's sound now masters to -14.11 (13 dB-for-dB passes reached -14.03). Test: a crack-over-wind signal the old loop leaves 0.25 short. Seen, not fixed: limited ~10 dB, noise-like transients come out up to a dB over the ceiling between samples before the encoder (sample peaks hold); master_for's post-AAC pass is what takes that off.