public/audio_context library
Web Audio API
https://webaudio.github.io/web-audio-api/
The interface of the Web Audio API acts as a base definition for
online and offline audio-processing graphs, as represented by
AudioContext and OfflineAudioContext
respectively. You
wouldn't use directly — you'd use its features via one of these
two inheriting interfaces.
A can be a target of events, therefore it implements the
EventTarget interface.
EventTarget
BaseAudioContext
Classes
- AudioContext
- The interface represents an audio-processing graph built from audio modules linked together, each represented by an AudioNode. An audio context controls both the creation of the nodes it contains and the execution of the audio processing, or decoding. You need to create an before you do anything else, as everything happens inside a context. It's recommended to create one AudioContext and reuse it instead of initializing a new one each time, and it's OK to use a single for several different audio sources and pipeline concurrently.
- AudioContextOptions
- BaseAudioContext