ref: b8e6ddadc1ee4b4c0aca5f5ecc943db37567772a
parent: 7fc2cbc35a379bfe8cbf70ef744b1495534d079d
author: Olav Sørensen <olav.sorensen@live.no>
date: Fri Jan 17 13:08:53 EST 2025
Update ft2_windowed_sinc.c
--- a/src/mixer/ft2_windowed_sinc.c
+++ b/src/mixer/ft2_windowed_sinc.c
@@ -19,7 +19,7 @@
// zeroth-order modified Bessel function of the first kind (series approximation)
static inline double besselI0(double z)
{
-#define EPSILON (1E-15) /* lower than this gives no accuracy benefits (verified), just slower compute time */
+#define EPSILON (1E-15) /* lower than this gives no accuracy benefits (verified) */
double s = 1.0, ds = 1.0, d = 2.0;
const double zz = z * z;
@@ -96,7 +96,7 @@
// Kaiser-Bessel (window) beta (could maybe use some further tweaking)
const double b1 = 9.6;
const double b2 = 8.5;
- const double b3 = 7.0;
+ const double b3 = 7.3;
// sinc low-pass cutoff (could maybe use some further tweaking)
const double c1 = 1.000;
--
⑨