Just start the microphone
This commit is contained in:
parent
ab3da1493b
commit
b113166db8
@ -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…
Reference in New Issue
Block a user