RenkuOS media mixer
Loudness equalization
One switch that evens out the volume of everything you hear. Quiet videos come up, loud ads come down, and you stop reaching for the volume knob. Each app is levelled on its own, and you can leave out the ones you don't want touched.
What it does to the sound
Loudness equalization onOff
24 dB → 5 dBgap between the quiet and loud parts
+15 dBfor the quiet parts, raised over a few seconds
0 msof drift: its 12 ms look-ahead is compensated
Listen
Off
Quiet noise, then a sudden loud burst.
On
The quiet part rises; the burst is caught at once.
Mind your volume before pressing play on "Off". The "On" clip is a direct capture of the mixer's output in the VM.
Per-app control
- Loudness equalization turns the whole thing on or off.
- Release time sets how fast quiet sound is brought back up, from 2 (fast) to 7 (slow).
- One box per app. Untick a music player to keep its dynamics, and keep the rest levelled. The change is heard immediately and remembered next time the app plays.
How it works
- Every app's sound is measured separately, ten milliseconds at a time, across 25 frequency bands weighted the way the ear hears loudness.
- When it gets louder, the gain drops immediately. When it gets quieter, the gain creeps back up over seconds, so speech and music don't pump.
- Quiet sound is raised by at most 20 dB, so background hiss doesn't get blown up.
- A look-ahead limiter on the mixer's output keeps the combined sound from clipping.
- The analysis needs 12 ms of look-ahead. The mixer files each app's sound that much earlier and tells apps about the extra latency, so audio stays in sync with video.
Status
Written for the RenkuOS media mixer, with a unit test and tests in a virtual machine (levels, per-app switching, and A/V sync with a click track). It hasn't been submitted to RenkuOS yet, and it hasn't been tried on real hardware.