diff --git a/Components/OPx/Implementation/EnvelopeGenerator.hpp b/Components/OPx/Implementation/EnvelopeGenerator.hpp index e4c1d7ff8..3d7b80c19 100644 --- a/Components/OPx/Implementation/EnvelopeGenerator.hpp +++ b/Components/OPx/Implementation/EnvelopeGenerator.hpp @@ -84,7 +84,8 @@ template class EnvelopeGenerator @returns The current attenuation from this envelope generator. This is independent of the envelope precision. */ int attenuation() const { - return (attenuation_ + tremolo_) << 3; + // TODO: if this envelope is fully released, should tremolo still be able to vocalise it? + return (attenuation_ << 3) + tremolo_; } /*!