From 059638a318fa8e7e00ad29bef7cd47e171b4179c Mon Sep 17 00:00:00 2001 From: Lunar Journal Date: Mon, 13 Jan 2025 18:03:56 +0200 Subject: Update emu8910.js --- emu8910.js | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'emu8910.js') diff --git a/emu8910.js b/emu8910.js index cc44656..db0fb4a 100644 --- a/emu8910.js +++ b/emu8910.js @@ -178,23 +178,13 @@ class AudioDriver { let device = this.device; this.filter = [ new BiasFilter(1024, 1.25), - new BiasFilter(1024, 1.25), - device.createBiquadFilter(), - device.createBiquadFilter() + new BiasFilter(1024, 1.25) ]; let filter = this.filter; - filter[2].type = "lowshelf"; - filter[2].frequency.value = 10000; - filter[2].gain.value = 2; - filter[3].type = "lowpass"; - filter[3].frequency.value = 10000; - filter[3].Q.value = 1; this.frequency = device.sampleRate; this.context = device.createScriptProcessor(4096, 0, 2); this.context.onaudioprocess = this.update; - this.context.connect(filter[2]); - filter[2].connect(filter[3]); - filter[3].connect(device.destination); + this.context.connect(device.destination); this.host = host; this.bias = 0; } -- cgit v1.2.3-70-g09d2