diff --git a/index.html b/index.html
index 57ed011..e2fccc6 100755
--- a/index.html
+++ b/index.html
@@ -284,6 +284,8 @@
A collaboration with artist Amy Pickles developing and performing part of the sound component. Custom developed a looper mangler using open source software and hardware. The project text :
+
+
diff --git a/js/audio.js b/js/audio.js
index c657ded..7b2514d 100644
--- a/js/audio.js
+++ b/js/audio.js
@@ -7,16 +7,15 @@ const audioEl = document.querySelector('#audioToggle')
masterGain.gain.value = 0.9
masterGain.connect(audioEngine.destination)
-// window.onload = function() {
-// // create gain
-// }
const audioToggle = () => {
audioEl.classList.toggle('active');
if (audioEngine.state == 'suspended') {
+ console.log('resumed')
audioEngine.resume()
} else {
audioEngine.suspend()
+ console.log('suspended')
}
}