From d8258984b48719ffabef812ea842f25713ae81b1 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 7 Jan 2018 06:43:35 -0800 Subject: Use a -40dB drop for bsinc12 This improves the transition width at the cost of slightly more audible high- frequency noise (nothing compared to linear or cubic, but still some). The previous transition band caused a noticeable loss in higher frequencies, making lower sample rate sources sound exceptionally dull or muffled. --- native-tools/bsincgen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'native-tools') diff --git a/native-tools/bsincgen.c b/native-tools/bsincgen.c index 49102279..72bd8183 100644 --- a/native-tools/bsincgen.c +++ b/native-tools/bsincgen.c @@ -356,8 +356,8 @@ int main(int argc, char *argv[]) "} BSincTable;\n\n", BSINC_SCALE_COUNT, BSINC_PHASE_COUNT, FRACTIONONE); /* A 23rd order filter with a -60dB drop at nyquist. */ BsiGenerateTables(output, "bsinc24", 60.0, 23); - /* An 11th order filter with a -60dB drop at nyquist. */ - BsiGenerateTables(output, "bsinc12", 60.0, 11); + /* An 11th order filter with a -40dB drop at nyquist. */ + BsiGenerateTables(output, "bsinc12", 40.0, 11); if(output != stdout) fclose(output); -- cgit v1.2.3