var mic , starAngle , endAngle , fft;

var spectrum = []
console.log(spectrum)
function setup() {
   createCanvas(windowWidth,windowHeight);
   noFill();

   mic = new p5.AudioIn();
   mic.start();
   mic.amp(0.15)
   fft = new p5.FFT(.97,64*8);
   fft.setInput(mic);
  
}
function draw(){
  background(200)
  angleMode(DEGREES)
  spectrum = fft.analyze()
  console.log(spectrum.length)

for(var i = 0 ; i < spectrum.length ; i++){
  
  startAngle = map(spectrum[i],0,255,0,360)
  endAngle = map(spectrum[i],255,0,0,360)
    stroke(map(spectrum[i],100,255,0,255),50,map(spectrum[i],0,100,0,255),map(spectrum[i],0,100,0,255))
    strokeWeight(map(spectrum[i],0,255,0,10))
  arc(width/2 , height/2 , 20 * i , 20 * i , endAngle , startAngle)
}  

}
Rerun