Q control with variable max gain/att