Using the instantaneous ratio here seems more proper, but it causes audible interference when using tiny shift ratios such that the hop flips back and forth between two adjacent values. Let's try using the more stable effective ratio, and see if the window smoothing is sufficient
This commit is contained in:
@@ -814,10 +814,9 @@ R3StretcherImpl::analyseChannel(int c, int inhop, int prevInhop, int prevOuthop)
|
||||
std::cout << std::endl;
|
||||
}
|
||||
*/
|
||||
double instantaneousRatio = double(prevOuthop) / double(prevInhop);
|
||||
bool specialCaseUnity = true;
|
||||
|
||||
m_guide.updateGuidance(instantaneousRatio,
|
||||
m_guide.updateGuidance(getEffectiveRatio(),
|
||||
classifyScale->mag.data(),
|
||||
classifyScale->prevMag.data(),
|
||||
cd->readahead.mag.data(),
|
||||
|
||||
Reference in New Issue
Block a user