aboutsummaryrefslogtreecommitdiffstats
path: root/maximilian.h
diff options
context:
space:
mode:
authorMick Grierson <mickgrierson@strangebook.lan>2011-10-16 23:00:42 +0100
committerMick Grierson <mickgrierson@strangebook.lan>2011-10-16 23:00:42 +0100
commit3a90e8344192e60f65cf9a1fe821bb080a323d34 (patch)
treed308cb6594bd52dbed03750c166d1aa9ebd61ccf /maximilian.h
parent86eb05f4c39f7fde510cde682a529a2436a45955 (diff)
added maxiDyn compressor and gate
Diffstat (limited to 'maximilian.h')
-rwxr-xr-xmaximilian.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/maximilian.h b/maximilian.h
index 41df487..38ac3dc 100755
--- a/maximilian.h
+++ b/maximilian.h
@@ -314,4 +314,22 @@ public:
};
+class maxiDyn {
+
+
+public:
+ double gate(double input, double threshold=0.9, long hold=1, double attack=1, double release=0.9995);
+ double compress(double input, double ratio=2.0, double threshold=0.5);
+ double input;
+ double ratio;
+ double threshold;
+ double output;
+ long attack;
+ long release;
+ double amplitude;
+ long hold;
+ long holdcount;
+ int attackphase,holdphase,releasephase;
+};
+
#endif