aboutsummaryrefslogtreecommitdiffstats
path: root/maximilian.cpp
diff options
context:
space:
mode:
authorMick Grierson <mickgrierson@gmail.com>2011-10-19 14:41:29 +0100
committerMick Grierson <mickgrierson@gmail.com>2011-10-19 14:41:29 +0100
commit1af0e16bbbe22214f99c8f5deb1f4de6d3ebcd6d (patch)
treef7bfac671ec950f8d7458d88d1cdf3b0d75d21bd /maximilian.cpp
parent6c399125930609645c6aabd055aa6ea8fe54a2ed (diff)
tiny changes to maxiDyn
Diffstat (limited to 'maximilian.cpp')
-rw-r--r--maximilian.cpp4
1 files changed, 3 insertions, 1 deletions
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) {