From 767e350ee8cd896bdc5feca26715dfe959ab76b7 Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Thu, 21 Jan 2021 09:58:23 +0100 Subject: [PATCH] Hermite interpolator as default; has less HF attenuation --- src/sfizz/Voice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sfizz/Voice.cpp b/src/sfizz/Voice.cpp index fa6e4262..a759dee5 100644 --- a/src/sfizz/Voice.cpp +++ b/src/sfizz/Voice.cpp @@ -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(source, dest, indices, coeffs, addingGains);