diff --git a/Components/SID/SID.hpp b/Components/SID/SID.hpp index 20797adc4..17e92dc45 100644 --- a/Components/SID/SID.hpp +++ b/Components/SID/SID.hpp @@ -273,7 +273,8 @@ private: if(noise()) output &= noise_output(); - return output; + // Scale output to 14 bits. + return (output * adsr.envelope) >> 6; } };