About the Author

@borismus
Boris Smus is a front-end engineer working for Google Chrome Developer Relations, specializing in mobile web and web audio. Before Google, he was a Human-Computer Interaction researcher at Carnegie Mellon, and a software engineer at Apple.

Web Audio API

by Boris Smus

The web version of this book includes live web audio API examples, which is not supported by all browsers. caniuse.com lists browser support in this chart.

Go beyond HTML5’s Audio tag and boost the audio capabilities of your web application with the Web Audio API. Packed with lots of code examples, crisp descriptions, and useful illustrations, this concise guide shows you how to use this JavaScript API to make the sounds and music of your games and interactive applications come alive.

$12.99 Read Online for Free
Brought to you by Fluent Conference

Buy It on oreilly.com

You need little or no digital audio expertise to get started. Author Boris Smus introduces you to digital audio concepts, then shows you how the Web Audio API solves specific application audio problems. You’ll not only learn how to synthesize and process digital audio, you’ll also explore audio analysis and visualization with this API.

  • Learn Web Audio API, including audio graphs and the audio nodes
  • Provide quick feedback to user actions by scheduling sounds with the API’s precise timing model
  • Control gain, volume, and loudness, and dive into clipping and crossfading
  • Understand pitch and frequency: use tools to manipulate soundforms directly with JavaScript
  • Generate synthetic sound effects and learn how to spatialize sound in 3D space
  • Use Web Audio API with the Audio tag, getUserMedia, and the Page Visibility API