From e2811df7d51b4cb397dc27f8891c11b2c54cf775 Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Tue, 30 Dec 2025 22:36:08 +0100 Subject: [PATCH] at the start it blasts volume, after the minute of tuning in --- filter/bs412.c | 1 + 1 file changed, 1 insertion(+) diff --git a/filter/bs412.c b/filter/bs412.c index df3c232..4d4d9a4 100644 --- a/filter/bs412.c +++ b/filter/bs412.c @@ -64,6 +64,7 @@ float bs412_compress(BS412Compressor* mpx, float sample) { #ifdef BS412_DEBUG debug_printf("Can compress.\n"); #endif + mpx->gain = powf(10.0f, (mpx->target - modulation_power) / 10.0f); mpx->can_compress = 1; }