How to use microphone sounds on P5*JS

Note: apparently, this doesn't work on my website (I might have done something wrong with my html code), but when I use it offline on any working environment, it works flawlessly.Try using it on openprocessing.com, you'll see how it works.