From dbaaf1259825bd4522fd28b09c07fe6c1bc2b672 Mon Sep 17 00:00:00 2001 From: Chris Cannam Date: Thu, 22 Oct 2020 17:13:55 +0100 Subject: [PATCH] Hm, those settings weren't as well-behaved as I thought. I wonder if there is some unpleasant randomness here --- src/dsp/Resampler.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/dsp/Resampler.cpp b/src/dsp/Resampler.cpp index ac1f8eb..c6ad53c 100644 --- a/src/dsp/Resampler.cpp +++ b/src/dsp/Resampler.cpp @@ -155,10 +155,9 @@ D_IPP::D_IPP(Resampler::Quality /* quality */, cerr << "Resampler::Resampler: using IPP implementation" << endl; } - int nStep = 16; + m_window = 32; + int nStep = 64; IppHintAlgorithm hint = ippAlgHintFast; - m_window = 48; - nStep = 80; m_factor = 8; // initial upper bound on m_ratio, may be amended later // This is largely based on the IPP docs and examples. Adapted