aboutsummaryrefslogtreecommitdiffstats
path: root/maximilian.h
diff options
context:
space:
mode:
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