We'll utilize a third-party JavaScript library called Howler to add sound effects and music. Howler fixes some native JavaScript audio API issues, such as not being able to overlap audio playbacks on top of each other. We'll learn how to add audio assets, loop audio, and alter the audio's volume.
Google Drive
Background Music:
Sound Effects:
0:00 Credits
1:25 Download assets
2:52 Import assets
6:48 Implement sound effects
13:21 Limit play rates
15:33 Loop audio
16:02 Lower overall volume