17.5: Adding Sound Effects - p5.js Sound Tutorial

Опубликовано: 17 Июнь 2016
на канале: 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


Смотрите видео 17.5: Adding Sound Effects - p5.js Sound Tutorial онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь The Coding Train 17 Июнь 2016, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 67,046 раз и оно понравилось 762 людям.