Web Audio API - Boris Smus

Web Audio API

Advanced Sound for Games and Interactive Apps

(Autor)

Buch | Softcover
76 Seiten
2013
O'Reilly Media, Inc, USA (Verlag)
978-1-4493-3268-6 (ISBN)
15,15 inkl. MwSt
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

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.

Chapter 1 Fundamentals
A Brief History of Audio on the Web
Games and Interactivity
The Audio Context
Initializing an Audio Context
Types of Web Audio Nodes
Connecting the Audio Graph
Power of Modular Routing
Loading and Playing Sounds
Putting It All Together
Chapter 2 Perfect Timing and Latency
Timing Model
Precise Playback and Resume
Scheduling Precise Rhythms
Changing Audio Parameters
Gradually Varying Audio Parameters
Custom Timing Curves
Chapter 3 Volume and Loudness
Equal Power Crossfading
Using Meters to Detect and Prevent Clipping
Dynamics Compression
Chapter 4 Pitch and the Frequency Domain
Pitch and playbackRate
Multiple Sounds with Variations
Oscillator-Based Direct Sound Synthesis
Chapter 5 Analysis and Visualization
Frequency Analysis
Animating with requestAnimationFrame
Visualizing Sound
Chapter 6 Advanced Topics
Adding Effects via Filters
Procedurally Generated Sound
Room Effects
Spatialized Sound
Audio Processing with JavaScript
Chapter 7 Integrating with Other Technologies
Setting Up Background Music with the

Erscheint lt. Verlag 23.4.2013
Zusatzinfo illustrations
Verlagsort Sebastopol
Sprache englisch
Maße 178 x 233 mm
Gewicht 136 g
Einbandart kartoniert
Themenwelt Informatik Web / Internet Web Design / Usability
Informatik Weitere Themen Smartphones / Tablets
Schlagworte Web Audio
ISBN-10 1-4493-3268-4 / 1449332684
ISBN-13 978-1-4493-3268-6 / 9781449332686
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
der Weg zur professionellen Vektorgrafik

von Uwe Schöler

Buch (2024)
Carl Hanser (Verlag)
29,99
alles, was Sie über Gestaltung im Web wissen sollten

von Björn Rohles; Jürgen Wolf

Buch | Softcover (2023)
Rheinwerk (Verlag)
29,90