diff --git a/voicegardens/static/voicegardens.js b/voicegardens/static/voicegardens.js index ef0f92d..5c92814 100644 --- a/voicegardens/static/voicegardens.js +++ b/voicegardens/static/voicegardens.js @@ -143,7 +143,6 @@ function setupRecording() { * Setup logic for sound recording. **/ microphone = new p5.AudioIn(); - microphone.start(); recorder = new p5.SoundRecorder(); recorder.setInput(microphone); @@ -165,6 +164,8 @@ function setupRecording() { aboutButton = createImg("../static/images/ABOUT-BW.png"); aboutButton.mousePressed(goToAbout); aboutButton.class("button about"); + + microphone.start(); } class GeneratedShape {