make the ping sound a lot more tolerable

maia arson crimew 2022-03-30 13:28:35 +02:00
parent 3d4ea0773d
commit 2197d2b757
1 changed files with 3 additions and 3 deletions

View File

@ -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);