Working with the Web Audio API is the definitive and instructive guide to understanding and using the Web Audio API.
The Web Audio API provides a powerful and versatile system for controlling audio on the Web. It allows developers to generate sounds, select sources, add effects, create visualizations and render audio scenes in an immersive environment.
This book covers all essential features, with easy to implement code examples for every aspect. All the theory behind it is explained, so that one can understand the design choices as well as the core audio processing concepts. Advanced concepts are also covered, so that the reader will gain the skills to build complex audio applications running in the browser.
Aimed at a wide audience of potential students, researchers and coders, this is a comprehensive guide to the functionality of this industry-standard tool for creating audio applications for the web.
Table of Contents
List of Figures
List of Code Examples
Chapter 1 Introducing the Web Audio API
Interlude - Generating sound with scheduled sources
Chapter 2 Oscillators
Chapter 3 Audio Buffer sources
Chapter 4 The Constant Source Node
Interlude – Audio parameters
Chapter 5 Scheduling and setting parameters
Chapter 6 Connecting Audio Parameters and Modulation
Interlude – Destination and Source nodes
Chapter 7 Analysis and Visualization
Chapter 8 Loading, playing and recording
Chapter 9 OfflineAudioContext
Interlude – Audio effects
Chapter 10 Delay
Chapter 11 Filtering
Chapter 12 Waveshaper
Chapter 13 Dynamic range compression
Chapter 14 Reverberation
Interlude – Multichannel audio
Chapter 15 Mixing audio
Chapter 16 Stereo panning
Chapter 17 Spatialized sound
Interlude – Audio worklets
Chapter 18 Working with AudioWorklets
Chapter 19 The wonders of audio worklets
Appendix – The Web Audio API Interfaces
Joshua Reiss is a Professor with the Centre for Digital Music at Queen Mary University of London. He has published more than 200 scientific papers, and co-authored the book Intelligent Music Production, and textbook Audio Effects: Theory, Implementation and Application. At the time of writing, he is the President of the Audio Engineering Society (AES). He co-founded the highly successful spin-out company, LandR, and recently co-founded the start-ups Tonz and Nemisindo. His primary focus of research is on state-of-the-art signal processing techniques for sound design and audio production. He maintains a popular blog, YouTube channel and twitter feed for scientific education and research dissemination.