diff options
author | Chris Robinson <[email protected]> | 2018-01-07 06:43:35 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-01-07 06:43:35 -0800 |
commit | d8258984b48719ffabef812ea842f25713ae81b1 (patch) | |
tree | dcd460254f4431545bd984b463577cef062a8369 /native-tools | |
parent | c423b6c8b77354bee82f14c3b22c5d453d257c19 (diff) |
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.
Diffstat (limited to 'native-tools')
-rw-r--r-- | native-tools/bsincgen.c | 4 |
1 files changed, 2 insertions, 2 deletions
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);
|