summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Müller <md.node.0@gmail.com>2025-12-23 10:02:09 +0200
committerGitHub <noreply@github.com>2025-12-23 10:02:09 +0200
commitfdf7e9befc2c189d7db53b806d50433723abd9df (patch)
tree740dd3f42d8eaa3e04ad77013757c7bd79a1ecab
parentaab4459db564e1129cc861e9aaa8e219569c3a3a (diff)
downloademu8910-fdf7e9befc2c189d7db53b806d50433723abd9df.tar.gz
emu8910-fdf7e9befc2c189d7db53b806d50433723abd9df.zip
Update emu8910.js
-rw-r--r--emu8910.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/emu8910.js b/emu8910.js
index 2e8ba92..6883c78 100644
--- a/emu8910.js
+++ b/emu8910.js
@@ -55,10 +55,10 @@ const DAC_SHIFT = 40;
const CUBIC_INTERPOL = 0.5;
-const FIR_CUTOFF = 6000; // Hz
+const FIR_CUTOFF = 5000; // Hz
const FIR_TAPS = 25; // N taps
-const WAVE_OVERSAMPLE = 8;
+const WAVE_OVERSAMPLE = 16;
var FIR = []; // coeff
class Interpolator {