diff options
author | Damien Zammit <damien@zamaudio.com> | 2014-10-09 11:29:57 +1100 |
---|---|---|
committer | Damien Zammit <damien@zamaudio.com> | 2014-10-09 11:29:57 +1100 |
commit | 73364fbb87cde91c2eb6de76905e72699e4d1503 (patch) | |
tree | 0211bc3b3e2808264e22f477d07dcc5ede111038 /plugins/ZamComp | |
parent | a738915977221f6fb787239d966ac1769356e33e (diff) |
Adjusted slew rate
Signed-off-by: Damien Zammit <damien@zamaudio.com>
Diffstat (limited to 'plugins/ZamComp')
-rw-r--r-- | plugins/ZamComp/ZamCompPlugin.cpp | 2 |
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; |