Louder master via makeup gain + look-ahead limiter (v0.8.0)
The master stage was a flat 0.5x attenuation into a static tanh soft-clip, leaving ~9 dB of unused headroom: even the loudest single preset with its mix bus maxed peaked around -7 dBFS, well below other media playback. Replace it with a generous makeup gain (1.5x, ~+9.5 dB) feeding a feed-forward, look-ahead brickwall limiter. A short delay line lets the peak detector pull the gain down before a loud sample reaches the output and hold it across the look-ahead window, so the output is mathematically guaranteed to stay under the ceiling (0.97) - loudness without clipping, and none of the tanh grit a static clipper adds to a hot single voice. Allocation-free (results go to scratch fields, not a Pair) and NaN-guarded. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -22,8 +22,8 @@ android {
|
||||
// (android.media.midi) and AAudio low-latency audio we rely on.
|
||||
minSdk = 26
|
||||
targetSdk = 34
|
||||
versionCode = 22
|
||||
versionName = "0.7.3"
|
||||
versionCode = 23
|
||||
versionName = "0.8.0"
|
||||
|
||||
// We provide our own instrumentation runner if/when tests are added.
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
|
||||
Reference in New Issue
Block a user