Free Sample
+ Collection

Instant Audio Processing with Web Audio

Starting
Chris Khoo

Learn how to use the Web Audio API to implement audio effects such as loop stitching, audio ducking, and audio equalization through practical, hands-on recipes
$12.99
RRP $12.99
eBook

Want this title & more?

$21.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781782168799
Paperback76 pages

About This Book

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results
  • Implement audio stitching using Web Audio’s built-in scheduling API
  • Learn Web Audio’s scripting abilities by building a broadcast-style audio ducking effect
  • Build a 5-band equalizer using Web Audio’s built-in audio processing functionality

Who This Book Is For

This book is designed for developers with some HTML and JavaScript programming experience who are seeking to learn about Web Audio. Experience with AJAX and web server installation/configuration is a plus but is not a necessity in order to follow the content of the book.

Table of Contents

Chapter 1: Instant Audio Processing with Web Audio
Setting up a web host (Simple)
Playing audio in a loop (Simple)
Setting the volume (Simple)
Automating the audio parameters (Intermediate)
Building an equalizer using BiquadFilterNode (Advanced)

What You Will Learn

  • Understand the fundamental design philosophy underlying the Web Audio API
  • Explore the Web Audio interfaces in depth
  • Detect and initialize a Web Audio context
  • Play audio files from the Web and desktop
  • Implement basic and advanced audio looping behaviors
  • Build a 5-band sound equalizer using Web Audio’s processor nodes
  • Make a reusable audio layer step by step

In Detail

Web Audio is an upcoming industry standard for web audio processing. Using the API, developers today can develop web games and applications with real-time audio effects to rival their desktop counterparts.

Instant Audio Processing with Web Audio is your hands-on guide to the Web Audio API. Using clear, step-by-step exercises, this book explores the API and how to apply it to produce real-time audio effects such as audio stitching, audio ducking, and audio equalization.

This book is an in-depth study of the Web Audio API. Through a series of practical, step-by-step exercises, this book will guide you through the basics of playing audio all the way to the task of building a 5-band audio equalizer.

Along the way, we’ll learn how to utilize Web Audio’s scripting functionality to build real-time audio effects such as audio stitching and ducking. Then, we’ll use this knowledge to build a basic audio layer step-by-step which can be used in our web applications/games.

With its in-depth coverage of the Web Audio API and its practical advice on various audio implementation scenarios, Instant Audio Processing with Web Audio How-to is your ultimate guide to Web Audio.

Authors

Read More