xxxxxxxxxx
15
var mic;
function setup() {
createCanvas(400, 400);
mic= new p5.AudioIn();
mic.start();
}
function draw() {
background(0);
var vol = mic.getLevel();
console.log(vol);
//background(0);
ellipse (200,200,200,vol*200);
}