From 73364fbb87cde91c2eb6de76905e72699e4d1503 Mon Sep 17 00:00:00 2001 From: Damien Zammit Date: Thu, 9 Oct 2014 11:29:57 +1100 Subject: Adjusted slew rate Signed-off-by: Damien Zammit --- plugins/ZamComp/ZamCompPlugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/ZamComp/ZamCompPlugin.cpp') 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; -- cgit v1.2.3