randomDam_2022_HEAD_MMD_CREATIVECODING/cours_22_soundAnalyse/cours_22_soundAnalyse.pde

Analysor s1;

void setup(){
  size(1200,800,P2D);
  s1 = new Analysor(this,"alto.mp3",60);
}


void draw(){
  background(200);
  s1.runAnalyse();
  s1.drawPreAnalyse(0, 0, width, 300);
  
  
  fill(255,0,0);
  rect(s1.getChannel(32)+mouseX,s1.getChannel(33)+mouseY,s1.getChannel(40)*10,200);
}
