17.5: Adding Sound Effects - p5.js Sound Tutorial

Published: 17 June 2016
on channel: The Coding Train
67,046
762

In this video, I show how to add sound effects to your sketches. Code: https://thecodingtrain.com/tracks/sou...

🕹️ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/s...

🎥 Previous:    • 17.4: Amplitude Analysis - p5.js Soun...  
🎥 Next:    • 17.6: Sound Synthesis - p5.js Sound T...  

References:
🔗 p5.sound library: https://p5js.org/reference/#/librarie...
🔗 Open Game Art: https://opengameart.org

Related Coding Challenges:
🚂    • Coding Challenge #3: The Snake Game  
🚂    • Coding Challenge #115: Snake Game Redux  

Timestamps:
0:00 Introduction
1:25 Sound effects package
4:21 Add a sound effect when the snake eats food
5:42 Add a sound effect when the game starts over
9:44 playMode()
11:47 Add some background music
13:04 Change the speed of the game when food is eaten
14:58 Map the frame rate to the rate of the music
16:39 Increment music rate by a small amount
17:41 Outro

Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound

🚂 Website: https://thecodingtrain.com/
👾 Share Your Creation! https://thecodingtrain.com/guides/pas...
🚩 Suggest Topics: https://github.com/CodingTrain/Sugges...
💡 GitHub: https://github.com/CodingTrain
💬 Discord: https://thecodingtrain.com/discord
💖 Membership: http://youtube.com/thecodingtrain/join
🛒 Store: https://standard.tv/codingtrain
🖋️ Twitter:   / thecodingtrain  
📸 Instagram:   / the.coding.train  

🎥    • Coding Challenges  
🎥    • Start learning here!  

🔗 p5.js: https://p5js.org
🔗 p5.js Web Editor: https://editor.p5js.org/
🔗 Processing: https://processing.org

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

This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecod...

#soundeffects #p5js


Watch video 17.5: Adding Sound Effects - p5.js Sound Tutorial online without registration, duration hours minute second in high quality. This video was added by user The Coding Train 17 June 2016, don't forget to share it with your friends and acquaintances, it has been viewed on our site 67,046 once and liked it 762 people.