From 2197d2b757e7ab6a237920cccc26399945028a31 Mon Sep 17 00:00:00 2001 From: maia arson crimew Date: Wed, 30 Mar 2022 13:28:35 +0200 Subject: [PATCH] make the ping sound a lot more tolerable --- frontend/lib/chat.mjs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/lib/chat.mjs b/frontend/lib/chat.mjs index ad9adac..26825f6 100644 --- a/frontend/lib/chat.mjs +++ b/frontend/lib/chat.mjs @@ -426,12 +426,12 @@ const beep = () => { const gain = context.createGain(); gain.connect(context.destination); - gain.gain.value = 0.1; + gain.gain.value = 0.15; const oscillator = context.createOscillator(); oscillator.connect(gain); - oscillator.frequency.value = 520; - oscillator.type = "square"; + oscillator.frequency.value = 400; + oscillator.type = "sine"; oscillator.start(context.currentTime); oscillator.stop(context.currentTime + 0.22);