summaryrefslogtreecommitdiff
path: root/plugins/ZamComp/ZamCompPlugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ZamComp/ZamCompPlugin.cpp')
-rw-r--r--plugins/ZamComp/ZamCompPlugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ZamComp/ZamCompPlugin.cpp b/plugins/ZamComp/ZamCompPlugin.cpp
index b26e19a..18baae3 100644
--- a/plugins/ZamComp/ZamCompPlugin.cpp
+++ b/plugins/ZamComp/ZamCompPlugin.cpp
@@ -220,7 +220,7 @@ void ZamCompPlugin::d_run(const float** inputs, float** outputs, uint32_t frames
float attack_coeff = exp(-1000.f/(attack * srate));
float release_coeff = exp(-1000.f/(release * srate));
int slew;
- float slewfactor = 20.f*knee;
+ float slewfactor = 1.f + knee/2.f;
float gain = 1.f;
float xg, xl, yg, yl, y1;
uint32_t i;