Play and Pause Button
In Part 2 of the Sound with p5.js series, I show you how to add a button to the DOM capable of playing and stopping the playback of a sound file.
p5.js reference for the sound library
Song downloaded from freemusicarchiv.org.
- Editing
by Mathieu Blanchette
- Animations
by Jason Heglund