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.

Support this channel on Patreon:

Send me your questions and coding challenges!

Contact:

p5.js sound library reference:

Source Code for the Video Lessons:

p5.js:
Processing:

For More Sound in p5.js videos:

Music track:

Help us caption & translate this video!