This is a simulation of the distortion that happens in class B and AB power amps when the signal crosses 0.For class B simulations the smooth value should be set to about 0.3 +/- 0.2 and for AB it should be set to near 1.0.
The input signal.
Controls the point at which the output signal becomes linear.
Controls degree of smoothing of the crossover point.
Output will be multiplied by this value.
This value will be added to the output.