Mercurial > hg > flattendynamics
diff flattendynamics-ladspa.h @ 17:ca4e31d86436
The complicated long-and-short-term approach is not working any better than a simple long-term window. Revert to that, with some decay.
author | Chris Cannam |
---|---|
date | Wed, 23 Jul 2014 15:17:47 +0100 |
parents | 7bb35203a7bd |
children |
line wrap: on
line diff
--- a/flattendynamics-ladspa.h Wed Jul 23 10:29:26 2014 +0100 +++ b/flattendynamics-ladspa.h Wed Jul 23 15:17:47 2014 +0100 @@ -56,15 +56,9 @@ int m_histwrite; int m_histread; - double m_sumOfSquaresLongTerm; - double m_sumOfSquaresShortTerm; - - float m_rmsLongTerm; - float m_rmsShortTerm; - - float m_maxRmsLongTerm; - float m_maxRmsShortTerm; - + double m_sumOfSquares; + float m_rms; + float m_maxRms; float m_gain; };