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:
parent
bd0acf2843
commit
dce3d0c7bf
@ -209,8 +209,8 @@ static inline double CalcKaiserBeta(double rejection)
|
||||
|
||||
static float SincKaiser(double r, double x)
|
||||
{
|
||||
/* Limit rippling to -90dB. */
|
||||
return Kaiser(CalcKaiserBeta(90.0), x / r) * Sinc(x);
|
||||
/* Limit rippling to -60dB. */
|
||||
return Kaiser(CalcKaiserBeta(60.0), x / r) * Sinc(x);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user