diff --git a/public/arcade/index.html b/public/arcade/index.html index ee843b29..9ba12528 100644 --- a/public/arcade/index.html +++ b/public/arcade/index.html @@ -126,7 +126,7 @@ // audio stuff const showMusic = new Howl({ src: ['https://cloud-akjvxw4d0-hack-club-bot.vercel.app/0indigo_park_ost_-_airplayn___mollie_s_landing_pad____vmy-mxohsuy__audio.mp4'], - volume: 0.5, + // volume: 0.01, loop: true, rate: 0.5 }) @@ -135,9 +135,10 @@ muted = !muted if (muted) { document.querySelector('.sound-button').textContent = 'Want sound?' - showMusic.stop() + Howler.volume(0) } else if (!muted) { document.querySelector('.sound-button').textContent = 'Mute sound' + Howler.volume(0.1) if (firstPlay) { // strange fade-in effect where the pitch shifts up like a record player showMusic.fade(0, 1, 1000);