In repair.cpp -> EffectRepair::Process() the repairLen is restricted to a maximum of 128 samples.
The applied Least Squares AutoRegressive Interpolation method imposes no theoretical maximum.
So does anybody know where else this maximum stems from and why a power of 2?
Thanks, jerome42
why arepairs of damaged audio restricted to 128 samples max?
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: why arepairs of damaged audio restricted to 128 samples
Change it to for example 512 samples and see how long Repair takes then.jerome42 wrote:In repair.cpp -> EffectRepair::Process() the repairLen is restricted to a maximum of 128 samples.
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Re: why arepairs of damaged audio restricted to 128 samples
OK, Gale, so there is an almost cubic relation between repairlen and processing time, due to the use of matrices.Gale Andrews wrote:Change it to for example 512 samples and see how long Repair takes then.jerome42 wrote:In repair.cpp -> EffectRepair::Process() the repairLen is restricted to a maximum of 128 samples.
Gale
However there is no need to restrict the repairlen to a value being a power of 2: e.g. 200 would do also!
Jerome42
Re: why arepairs of damaged audio restricted to 128 samples
If the relationship is cubic, then increasing the number of samples from 128 to 200 would be what? About 4 times longer processing time?jerome42 wrote: OK, Gale, so there is an almost cubic relation between repairlen and processing time, due to the use of matrices.
However there is no need to restrict the repairlen to a value being a power of 2: e.g. 200 would do also!
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
-
Robert J. H.
- Posts: 3633
- Joined: Thu May 31, 2012 8:33 am
- Operating System: Windows 10
Re: why arepairs of damaged audio restricted to 128 samples
Very good guess, It is 3.8147, if it is really cubic.