A p5.js program for visualizing sound spectrum and the most prominent musical note.
Once running, click to activate the microphone or change the fft
input to a p5.SoundFile
object with loadSound("path/to/file")
by changing the parameter of fft.setInput()
.