Browse Source

Start the microphone later

main
Luke Murphy 5 years ago
parent
commit
17d9252d10
No known key found for this signature in database GPG Key ID: 5E2EF5A63E3718CC
  1. 3
      voicegardens/static/voicegardens.js

3
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 {

Loading…
Cancel
Save