Browse Source

Just start the microphone

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

6
voicegardens/static/voicegardens.js

@ -143,6 +143,7 @@ function setupRecording() {
* Setup logic for sound recording.
**/
microphone = new p5.AudioIn();
microphone.start();
recorder = new p5.SoundRecorder();
recorder.setInput(microphone);
@ -164,11 +165,6 @@ function setupRecording() {
aboutButton = createImg("../static/images/ABOUT-BW.png");
aboutButton.mousePressed(goToAbout);
aboutButton.class("button about");
microphone.start();
getAudioContext();
userStartAudio();
}
class GeneratedShape {

Loading…
Cancel
Save