This uses javascript ES6 features and might not work on all browsers. this sketch produces sound, make sure to turn on your speakers.

Show/hide code - rain.js

I have zero experience working with audio and I realize that it is really hard to integrate even the simplest of sound.

Example of output