mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-02-26 19:23:51 +01:00
maybe thats why?
This commit is contained in:
@@ -55,7 +55,7 @@ float bs412_compress(BS412Compressor* mpx, float sample) {
|
||||
mpx->average_counter = 1;
|
||||
}
|
||||
|
||||
float target_gain = powf(10.0f, (mpx->target - modulation_power) / 20.0f);
|
||||
float target_gain = powf(10.0f, (mpx->target - modulation_power) / 10.0f);
|
||||
if (modulation_power > mpx->target) {
|
||||
mpx->gain = mpx->attack * mpx->gain + (1.0f - mpx->attack) * target_gain;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user