Start the microphone later
This commit is contained in:
parent
8cc7b55f49
commit
17d9252d10
@ -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…
Reference in New Issue
Block a user