magus2500x wrote:I'm not so sure I agree, I am not saying it would necissarily be easy, but instead of looking for all the different frequencies that the distortion would be on, you would instead just try and remove a majority of the frequencies that they aren't on, which I believe, but am not possitive about, should be a little easier than going through one frequency at a time trying to find the bad ones. ...
Perhaps this will help to reveal the problem:

- distortion.png (9.45 KiB) Viewed 1136 times
The top track shows a recording of some audio.
The second track shows a recording of similar audio that has suffered digital clipping - note the flat (horizontal) portions where the waveform has been clipped.
The third track is a copy of the second track after using ClipFix - note that ClipFix works very well on this kind of distortion and has simply smoothed the clipped areas by drawing the waveform higher, following the slope of the waveform either side of the clipped area to make a smooth curve
The fourth track is similar audio that has suffered distortion due to overloading the microphone. - Note that it looks quite similar to track 1, but perhaps a little more wiggly. ClipFix cannot do anything with this track as there are no obvious "clipped" areas for it to fix.
Now let's look at a plot of the frequencies.

- not distorted.png (13 KiB) Viewed 1137 times
Here we see the frequencies in the "clean" recording (track 1)

- distorted.png (13.39 KiB) Viewed 1136 times
And here we see the frequencies in the recording which overloaded the microphone (track 4)
Although we can clearly hear the difference (track 1 sounds clean and track 4 sounds distorted), the frequencies that occur are not very much different. Most importantly, both of these tracks contain a broad range of frequencies that cover more or less the full audio range. We can not filter out the "distorted frequencies", because the same frequencies exist in both the distorted and the clean recordings though not necessarily in the same proportions. If we try to remove frequencies that occur as a result of the distortion, we will unavoidably be removing the audio as well. Koz has previously described this sort of thing as "trying to un-bake a cake to get the ingredients".
You may notice that there is a higher proportion of high frequencies in the distorted track, and may be tempted to think that we can simply reduce the level of high frequencies to make it sound less distorted but in practice this just makes it sound dull and distorted (rather than clean).