IIRFilterNodeinterface of the Web Audio API is a
AudioNodeprocessor which implements a general infinite impulse response (IIR) filter; this type of filter can be used to implement tone control devices and graphic equalizers as well. It lets the parameters of the filter response be specified, so that it can be tuned as needed.
AudioBufferSourceNodehas no input and exactly one output. The number of channels in the output corresponds to the number of channels of the
AudioBufferthat is set to the
AudioBufferSourceNode.bufferproperty. If there is no buffer set—that is, if the attribute's value is
NULL—the output contains one channel consisting of silence. An
AudioBufferSourceNodecan only be played once; that is, only one call to
AudioBufferSourceNode.start()is allowed. If the sound needs to be played again, another
AudioBufferSourceNodehas to be created. Those nodes are cheap to create, and
AudioBuffers can be reused across plays. It is often said that
AudioBufferSourceNodes have to be used in a "fire and forget" fashion: once it has been started, all references to the node can be dropped, and it will be garbage-collected automatically.
bufferproperty is set to the value NULL, it defines a single channel of silence.
resume()method of the
AudioContextInterface resumes the progression of time in an audio context that has previously been suspended.
suspend()method of the
AudioContextInterface suspends the progression of time in the audio context, temporarily halting audio hardware access and reducing CPU/battery usage in the process — this is useful if you want an application to power down the audio hardware when it will not be using an audio context for a while.