That depends what you are looking for - a simple-minded repair (smoothing) of the current waveform with a given that only damage is selected; or something that is more forgiving in its detection requirements and which can preserve previous dynamics as well as tolerably remove clipping. I still think improving Clip Fix should be on the agenda.steve wrote:OK, I'm with you nowProvided that your method is followed rigorously it works pretty well and certainly better than ClipFix.
Unless my audio is not clipped enough in the first place or my musical tastes too subtle, I've been disappointed with the audible result of Repair compared to Clip Fix, especially given the much larger effort needed to use Repair.
So I would still like to hear a section of music where Repair beats Clip Fix, while being very interested in an automated Repair Effect
Can you point to what exactly to change?steve wrote:Have you tested "Repair" for the effect of changing the maximum order of the least squares regression (currently hard coded at 50)? I would expect a significant increase in speed if that number is reduced and a slight improvement in quality when increased.
OK so is the feature request as you see it to add detection back to Repair (if necessary using the Clip Fix detection) and then Repair uses its current algorithm (or Clip Fix's if that is detected as better in a given case) to work through the detected sections?Quant wrote:I just really wish there were an easier way to automate Repair on multiple sections. [...]What clip fix uses for detection is good enough.
And the samples limit then applies to the number of samples in the detected clipped sections and not to the number of samples in the selection made by the user?
I also think before reinventing wheels you should try the two pre-existing efforts by Leland and Danni Coy that used Find Clipping to do the detection then Repair to fix the detected selections.
Danni Coy's effort seemed very promising because unlike Leland's, his had a configurable number of samples and detected clipped samples that had been negatively amplified (see Martyn Shaw's comments about this here ).
I've attached the two zip files (Danni's is not a patch so needs integrating into Audacity).
Also I had some correspondence with someone who had devised what sounds like very high quality click and soft dust tick detection for vinyl records in labVIEW. The detection seems to be based on statistical analysis of what a click "signature" is like.
He knows no C++ but wanted to integrate his detection with an automated version of Audacity's Repair effect. So he offered us his detection method if we could make it work in C++. He says his method is not proprietary so I have attached a summary of what he wrote to me including images.
Perhaps this detection is of more relevance to Audacity's Click Removal than Repair, but is Click Removal's deficiency wholly in detection or also in removal?
I have not stated his name yet but I have told him I have posted here.
Gale