summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordmlunar <md.node.0@gmail.com>2026-02-05 23:54:20 +0200
committerGitHub <noreply@github.com>2026-02-05 23:54:20 +0200
commitbd6b8313a418e5148963cb3654a92fc709d5ae80 (patch)
treea840c494bbbe5a39bb683db3845c981f2aaf8b4e
parent0e9c3607a7e19180ced092b4bad626e55420dde8 (diff)
downloademu8910-bd6b8313a418e5148963cb3654a92fc709d5ae80.tar.gz
emu8910-bd6b8313a418e5148963cb3654a92fc709d5ae80.zip
Update emu8910.js
-rw-r--r--emu8910.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/emu8910.js b/emu8910.js
index fea4283..b3fbcb4 100644
--- a/emu8910.js
+++ b/emu8910.js
@@ -55,10 +55,10 @@ const DAC_SHIFT = 40;
const CUBIC_INTERPOL = 0.5;
-const FIR_CUTOFF = 3000; // Hz
-const FIR_TAPS = 100; // N taps
+const FIR_CUTOFF = 10000; // Hz
+const FIR_TAPS = 50; // N taps
-const WAVE_OVERSAMPLE = 8;
+const WAVE_OVERSAMPLE = 4;
var FIR = []; // coeff
class Interpolator {