Change the Kaiser rippling limit to -60dB

This improves the transition cutoff, shortening its width and reducing the
amount of error.
This commit is contained in:
Chris Robinson 2015-11-04 19:13:25 -08:00
parent bd0acf2843
commit dce3d0c7bf

View File

@ -209,8 +209,8 @@ static inline double CalcKaiserBeta(double rejection)
static float SincKaiser(double r, double x) static float SincKaiser(double r, double x)
{ {
/* Limit rippling to -90dB. */ /* Limit rippling to -60dB. */
return Kaiser(CalcKaiserBeta(90.0), x / r) * Sinc(x); return Kaiser(CalcKaiserBeta(60.0), x / r) * Sinc(x);
} }