diff flattendynamics-ladspa.h @ 7:4d48ab57fbcc

A global/local version that works approximately as well in first tests as the global-only version (r8)
author Chris Cannam
date Tue, 22 Jul 2014 11:27:59 +0100
parents 6b732542a34c
children 355fb9ea3888
line wrap: on
line diff
--- a/flattendynamics-ladspa.h	Tue Jul 22 08:11:45 2014 +0100
+++ b/flattendynamics-ladspa.h	Tue Jul 22 11:27:59 2014 +0100
@@ -50,9 +50,14 @@
     int m_histwrite;
     int m_histread;
 
-    double m_sumOfSquares;
-    float m_rms;
-    float m_maxRms;
+    double m_sumOfSquaresLongTerm;
+    double m_sumOfSquaresShortTerm;
+
+    float m_rmsLongTerm;
+    float m_rmsShortTerm;
+
+    float m_maxRmsLongTerm;
+
     float m_gain;
 };