7 days of WordPress plugins, themes & templates - for free!* Unlimited asset downloads! Start 7-Day Free Trial
FREELessons: 11Length: 57 minutes

Next lesson playing in 5 seconds

  • Overview
  • Transcript

5.1 Conclusion

Thanks for watching to the end of this course! I hope that you will find some fun or useful applications of the Web Audio API.

5.1 Conclusion

Well, I'm afraid that's it for this course on adding sound to your website. Let's have a quick recap on what we've learned. Well, we've learned that audio is a great way of improving the user experience of your site by providing simple audio cues to reinforce what's happening on screen. We've also learned that a melody consisting of only just two notes can sound positive or negative based on whether it goes up or down. These melodies can be created from scratch directly in the browser using the Web Audio API by creating oscillator notes which produce tones at different frequencies. Remember, the type of sound an oscillator produces depends on its type of wave, whether that's a sine, square, triangle, or sawtooth wave. We've also covered the idea of a node graph, and how different web audio API nodes are chained together, allowing audio to flow through them and out to your speakers. And we can automate the various parameters of these nodes by programmatically controlling the volume, for example. Finally, we learned that we can use the Web Audio API with ordinary MP3 files, loading and playing them whenever we want due to the API's precise timing system. I really hope you enjoyed this course and that it has piqued your interest in the Web Audio API, as well as sound in general. If you're keen to learn more, visit the Tuts+ website for more of my tutorials and courses, or even check out the Web Audio API spec to see a comprehensive list of all things the Web Audio API has to offer. Thanks for watching.

Back to the top