Web Audio API
- Length: 76 pages
- Edition: 1
- Language: English
- Publisher: O'Reilly Media
- Publication Date: 2013-03-22
- ISBN-10: 1449332684
- ISBN-13: 9781449332686
- Sales Rank: #1508850 (See Top 100 Books)
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.
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
Table of Contents
Chapter 1. Fundamentals
Chapter 2. Perfect Timing and Latency
Chapter 3. Volume and Loudness
Chapter 4. Pitch and the Frequency Domain
Chapter 5. Analysis and Visualization
Chapter 6. Advanced Topics
Chapter 7. Integrating with Other Technologies
Chapter 8. Conclusion
Appendix A. Deprecation Notes
Appendix B. Glossary