Permalink
Browse files

Fixing Envelopes not going to zero

Min value updated from -40dB to -400dB
  • Loading branch information...
fundamental committed Jun 3, 2011
1 parent 38b0b86 commit 7592cde773d62a74985c7d5e929504627ca0b731
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/Params/EnvelopeParams.h
  2. +1 −1 src/Synth/Envelope.cpp
@@ -28,7 +28,7 @@
#include "Presets.h"
#define MAX_ENVELOPE_POINTS 40
-#define MIN_ENVELOPE_DB -40
+#define MIN_ENVELOPE_DB -400
class EnvelopeParams:public Presets
{
View
@@ -182,7 +182,7 @@ REALTYPE Envelope::envout_dB()
if(out > 0.001)
envoutval = rap2dB(out);
else
- envoutval = -40.0;
+ envoutval = MIN_ENVELOPE_DB;
}
else
out = dB2rap(envout());

0 comments on commit 7592cde

Please sign in to comment.