ABSTRACT

One of the most common ways to manipulate sound is by boosting or attenuating a range of frequencies using audio filters . A familiar example of this is the use of audio equalizers to brighten or muffle a sound . The Web Audio API has a node named BiquadFilter that allows you to create different types of audio filters that can be connected together to create various forms of equalizers . In this chapter, you will learn how to use the BiquadFilter node, and in the process, you will create a seven-band graphic equalizer and a single-band parametric equalizer .

Using the Biquad Filter Node To use the BiquadFilter node, you must first instantiate it using the create BiquadFilter function and store the returned object in a variable .