This is an old project I made; I decided to share it with you guys. If the 'soundSensing?' var is set to 1 the wave will read out sound levels. If it is set to 0, it will display a basic cosine wave that will conform to the options chosen by changing the variables at the top of the screen. (Hover mouse above graph to change values) Anyway, everything is by me.