From a539fc8fa618f786bd6f7b85542defa29f3159d0 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Fri, 26 Jan 2024 23:10:16 +0100 Subject: [PATCH] allow adjustment of the bandpass --- htdocs/lib/Demodulator.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/lib/Demodulator.js b/htdocs/lib/Demodulator.js index e729ebe7..ddc1e1a6 100644 --- a/htdocs/lib/Demodulator.js +++ b/htdocs/lib/Demodulator.js @@ -15,6 +15,8 @@ Filter.prototype.getLimits = function() { max_bw = 50000; } else if (this.demodulator.get_modulation() === "freedv") { max_bw = 4000; + } else if (this.demodulator.get_modulation() === "dab") { + max_bw = 1000000; } else { max_bw = (audioEngine.getOutputRate() / 2) - 1; }