reduce maximum gain reduction to 12

This commit is contained in:
2025-08-01 18:49:20 +02:00
parent 1ab0d89b00
commit 2354be5896

View File

@@ -72,7 +72,7 @@ inline void oneknob_process_block(oneknob_comp& c, sample** audio, int frames)
const float slow_attack = 0.6f; const float slow_attack = 0.6f;
const float fast_release = 90.f; const float fast_release = 90.f;
const float slow_release = 300.f; const float slow_release = 300.f;
const float max_gr = 24.f; const float max_gr = 12.f;
for (int i = 0; i < frames; ++i) { for (int i = 0; i < frames; ++i) {
float rms_value = rms_process<sample>(c.detector, c.sidechain_in); float rms_value = rms_process<sample>(c.detector, c.sidechain_in);