mirror of
https://github.com/Cesarus85/ringfall-mjolnir-vr.git
synced 2026-10-17 14:00:25 +02:00
The voices sum at their full level, as the Xbox's mix bins did, and the mixer bent every sample over 0.8 with tanh. When loud voices piled up, as dialogue over gunfire does, that distorted the sound: a 2x full scale sine came out with 23% harmonic distortion. A look-ahead limiter now turns the whole mix down for as long as it would go over -1 dBFS, both channels alike, and brings it back over 100 ms. The output is 1.3 ms later, so the gain comes down before each peak; below full scale nothing changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>