diff options
Diffstat (limited to 'main.js')
-rw-r--r-- | main.js | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -11,11 +11,6 @@ window.onload = () => { const audio = new AudioContext(); root.removeChild(start); - const rocketThrustAudio = document.getElementById('sfx-rocket-thrust'); - const rocketThrustSource = audio.createMediaElementSource(rocketThrustAudio); - const rocketGain = audio.createGain(); - rocketThrustSource.connect(rocketGain).connect(audio.destination); - const musicGain = audio.createGain(); const addMusic = (music, id) => { const element = document.getElementById(id); |