From 3a90e8344192e60f65cf9a1fe821bb080a323d34 Mon Sep 17 00:00:00 2001 From: Mick Grierson Date: Sun, 16 Oct 2011 23:00:42 +0100 Subject: added maxiDyn compressor and gate --- maximilian.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'maximilian.h') 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 -- cgit v1.3