From 1af0e16bbbe22214f99c8f5deb1f4de6d3ebcd6d Mon Sep 17 00:00:00 2001 From: Mick Grierson Date: Wed, 19 Oct 2011 14:41:29 +0100 Subject: tiny changes to maxiDyn --- maximilian.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'maximilian.cpp') diff --git a/maximilian.cpp b/maximilian.cpp index f0fd10b..b3a5a27 100644 --- a/maximilian.cpp +++ b/maximilian.cpp @@ -870,7 +870,9 @@ double maxiDyn::gate(double input, double threshold, long holdtime, double attac return output; } -/* this is evil. leave it alone*/ +/* OK this compressor is now ready to use. The envelopes, like all the envelopes in this recent update, use stupid algorithms for + incrementing - consequently a long attack is something like 0.0001 and a long release is like 0.9999. + Annoyingly, a short attack is 0.1, and a short release is 0.99. I'll sort this out laters */ double maxiDyn::compressor(double input, double ratio, double threshold, double attack, double release) { -- cgit v1.3