I'm currently building some sort of cheap compressor.
The problem is, that it sounds pretty bad
I think it's because of the comparator. If I pass the signal directly through the compression circuit it sounds ok.
So if anyone knows a workaround please help! (Already tried change slower...)

This is what I got so far...
I used the Equation to have only values between 0 and 1

