From 51f89b676280f747cb651b995b412a364ce2cea0 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Mon, 6 Jun 2022 14:19:10 -0600 Subject: [PATCH] remove low-pitch oscillator, doesn't seem to help --- static/outputs.mjs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/static/outputs.mjs b/static/outputs.mjs index 43f8fef..58427aa 100644 --- a/static/outputs.mjs +++ b/static/outputs.mjs @@ -220,8 +220,10 @@ class ToneBuzzer extends AudioBuzzer { this.txOsc = new Oscillator(highFreq, txGain) // Keep the speaker going always. This keeps the browser from "swapping out" our audio context. - this.bgOsc = new Oscillator(1, 0.001) - this.bgOsc.SoundAt() + if (false) { + this.bgOsc = new Oscillator(1, 0.001) + this.bgOsc.SoundAt() + } } /**