Click removal mathmatical equation
Forum rules
This forum is for Audacity on macOS 10.4 and later.
Please state which version of macOS you are using,
and the exact three-section version number of Audacity from "Audacity menu > About Audacity".
Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Please state which version of macOS you are using,
and the exact three-section version number of Audacity from "Audacity menu > About Audacity".
Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Click removal mathmatical equation
as an aid in setting sensitivity and width parameters it would be nice to know the logical thinking and the mathmatical equations be used for this effect. 
Re: Click removal mathmatical equation
Hopefully the Click Removal effect will be replaced in the near future because in many cases it is not effective.
The basic algorithm is that it looks at the peak amplitude over a short period of time (represented by the "width" parameter) and compares that to the average level measured over a longer period. If the short period amplitude is greater than the average amplitude + the "sensitivity" amount, then the short period is marked as a click.
I'm currently working on a new algorithm that will hopefully be more effective and easier to use. It may not be ready in time for Audacity 2.0.6 but if not I have high hopes for it in 2.0.7.
The basic algorithm is that it looks at the peak amplitude over a short period of time (represented by the "width" parameter) and compares that to the average level measured over a longer period. If the short period amplitude is greater than the average amplitude + the "sensitivity" amount, then the short period is marked as a click.
I'm currently working on a new algorithm that will hopefully be more effective and easier to use. It may not be ready in time for Audacity 2.0.6 but if not I have high hopes for it in 2.0.7.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)