17.2: Play and Pause Button - p5.js Sound Tutorial

Subscribers:
1,740,000
Published on ● Video Link: https://www.youtube.com/watch?v=YcezEwOXun4



Category:
Tutorial
Duration: 6:16
61,743 views
598


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: https://patreon.com/codingtrain


Send me your questions and coding challenges!

Contact: https://twitter.com/shiffman


p5.js sound library reference: https://p5js.org/reference/#/libraries/p5.sound


Source Code for the Video Lessons: https://github.com/shiffman/Video-Lesson-Materials


p5.js: https://p5js.org/
Processing: https://processing.org


For More Sound in p5.js videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6aFcVjlDAkkGIixw70s7jpW

Music track:
http://freemusicarchive.org/music/The_Columbians/Antique_Phonograph_Music_Program_08252015/Just_Like_A_Rainbow

Help us caption & translate this video!

http://amara.org/v/Qbrw/

📄 Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct







Tags:
p5.js
sound
p5
js
javascript
play
javascript (programming language)
tutorial
tutorial (media genre)
creative coding
coding
daniel shiffman
coding challenge
programming challenge
p5.js tutorial
p5 js
play button
pause button
play button javascript
javascript audio
html5 audio tutorial
html5 audio
p5.js sound tutorial
p5.js sound library