Deprecation Notes

The Web Audio API is still evolving, and some methods are being added, removed, and renamed. This section describes some of the recent changes made to the API:

In addition to these changes, many of the constants in the Web Audio API are changing from variables into string enumerations. For example, filter types are going from filter.LOWPASS to lowpass, oscillator types are going from osc.SINE to sine, etc.

Throughout the book, I’ve used new versions of all of the APIs, so those using older implementations of the API may need to revert back to earlier methods and constant naming.

For the most up-to-date information regarding naming changes, see the Web Audio specification.