# HG changeset patch # User Chris Cannam # Date 1400062971 -3600 # Node ID 0a089d7d162d8768a3be874811487af52504d9e1 # Parent ef7b8d9363c03b9a86a2310cef01317f6be6c375 Adjust resampler spec for speed/quality tradeoff diff -r ef7b8d9363c0 -r 0a089d7d162d cpp-qm-dsp/CQInverse.cpp --- a/cpp-qm-dsp/CQInverse.cpp Wed May 14 10:41:20 2014 +0100 +++ b/cpp-qm-dsp/CQInverse.cpp Wed May 14 11:22:51 2014 +0100 @@ -108,7 +108,7 @@ int factor = pow(2, i); Resampler *r = new Resampler - (sourceRate / factor, sourceRate, 60, 0.02); + (sourceRate / factor, sourceRate, 50, 0.05); #ifdef DEBUG_CQ cerr << "inverse: octave " << i << ": resample from " << sourceRate/factor << " to " << sourceRate << endl; diff -r ef7b8d9363c0 -r 0a089d7d162d cpp-qm-dsp/ConstantQ.cpp --- a/cpp-qm-dsp/ConstantQ.cpp Wed May 14 10:41:20 2014 +0100 +++ b/cpp-qm-dsp/ConstantQ.cpp Wed May 14 11:22:51 2014 +0100 @@ -110,7 +110,7 @@ int factor = pow(2, i); Resampler *r = new Resampler - (sourceRate, sourceRate / factor, 60, 0.02); + (sourceRate, sourceRate / factor, 50, 0.05); #ifdef DEBUG_CQ cerr << "forward: octave " << i << ": resample from " << sourceRate << " to " << sourceRate / factor << endl;