Gain adjusts to average level of the output. The pot determines the response time to a falling signal, the 1K determines the response time to increasing signal and is characteristically fast to prevent the output from over shooting for very long when there is a sudden increase in volume. The two 1M resistors minimise distortion introduced by the mosfet, by placing half the drain voltage (AC) onto the D.C. control signal at the gate