# HG changeset patch # User Chris Cannam # Date 1406137001 -3600 # Node ID d25a2e91e9d84aaff25e5d746398232d182d127d # Parent ca4e31d8643619e2f8b4486dffa5d118650f6ff2 Max gain of 10 seems like it should be perfectly adequate! (and tests OK) diff -r ca4e31d86436 -r d25a2e91e9d8 flattendynamics-ladspa.cpp --- a/flattendynamics-ladspa.cpp Wed Jul 23 15:17:47 2014 +0100 +++ b/flattendynamics-ladspa.cpp Wed Jul 23 18:36:41 2014 +0100 @@ -12,7 +12,7 @@ const float catchUpSeconds = 0.2f; const float targetMaxRMS = 0.05f; const float rmsMaxDecay = 0.999f; // per sample -const float maxGain = 20.f; +const float maxGain = 10.f; const char *const FlattenDynamics::portNames[PortCount] =