Reverb system using parallel structure of comb filters and cascade structure of allpass filters for ST Nucleo F401RE.

Dependencies:   UITDSP_ADDA mbed

Revision:
1:51c85e0a6e1e
Parent:
0:72e321f29769
--- a/reverb_unit.hpp	Thu Oct 23 03:53:29 2014 +0000
+++ b/reverb_unit.hpp	Fri Oct 31 07:34:23 2014 +0000
@@ -37,16 +37,16 @@
 template<int delay> class CombFilter : public Reverb<delay>
 {
 private:
-    const float G0_;
+    const float GC_;
 public:
     // Constructor
-    CombFilter(float g) : G0_(g) {}
+    CombFilter(float g) : GC_(g) {}
 
     // Execute comb filter 
     virtual float Execute(float x)
     {
         float yn = Reverb<delay>::Get();
-        Reverb<delay>::Set(x + G0_*yn);
+        Reverb<delay>::Set(x + GC_*yn);
         return yn;
      }
 };