var rms = 0; for (var i = 0; i < vols.length; i++) { rms += spectrum[i] * spectrum[i]; } rms /= spectrum.length; rms = Math.sqrt(rms);…Using the Microphone to Make Sound Reactive Art in Javascript2562George GallyJuriel GarciaFollowSep 9, 2018 · 1 min readWhere did you make vols into an array or where/how did you get the length of vols?