Hermite interpolator as default; has less HF attenuation

This commit is contained in:
Jean Pierre Cimalando 2021-01-21 09:58:23 +01:00
parent ce1608c1dc
commit 767e350ee8

View file

@ -1162,11 +1162,11 @@ void Voice::Impl::fillInterpolatedWithQuality(
break;
case 2: high:
{
#if 1
#if 0
// B-spline response has faster decay of aliasing, but not zero-crossings at integer positions
constexpr auto itp = kInterpolatorBspline3;
#else
// Hermite polynomial
// Hermite polynomial, has less pass-band attenuation
constexpr auto itp = kInterpolatorHermite3;
#endif
fillInterpolated<itp, Adding>(source, dest, indices, coeffs, addingGains);