ConvolverNode()
constructor of the
Web 音频 API
creates a new
ConvolverNode
对象实例。
var convolverNode = new ConvolverNode(context, options)
Inherits parameters from the
AudioNodeOptions
dictionary
.
AudioContext
.
audioBuffer
:
A mono, stereo, or 4-channel
AudioBuffer
containing the (possibly multichannel) impulse response used by the
ConvolverNode
to create the reverb effect.
disableNormalization
:
A
布尔
controlling whether the impulse response from the buffer will be scaled by an equal-power normalization, or not
. The default is '
false
'.
新的
ConvolverNode
对象实例。
| 异常 | 解释 |
|---|---|
NotSupportedError
|
The referenced
AudioBuffer
does not have the correct number of channels, or it has a different sample rate to the associated
AudioContext
.
|
| 规范 | 状态 | 注释 |
|---|---|---|
|
Web 音频 API
The definition of 'ConvolverNode()' in that specification. |
工作草案 | 初始定义。 |
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
ConvolverNode()
构造函数
|
Chrome 55 | Edge ≤79 | Firefox 53 | IE 不支持 No | Opera 42 | Safari ? | WebView Android 55 | Chrome Android 55 | Firefox Android 53 | Opera Android 42 | Safari iOS ? | Samsung Internet Android 6.0 |
完整支持
不支持
兼容性未知
ConvolverNode
ConvolverNode()
AnalyserNode
AudioBuffer
AudioBufferSourceNode
AudioContext
AudioContextOptions
AudioDestinationNode
AudioListener
AudioNode
AudioNodeOptions
AudioParam
AudioProcessingEvent
AudioScheduledSourceNode
AudioWorklet
AudioWorkletGlobalScope
AudioWorkletNode
AudioWorkletProcessor
BaseAudioContext
BiquadFilterNode
ChannelMergerNode
ChannelSplitterNode
ConstantSourceNode
DelayNode
DynamicsCompressorNode
GainNode
IIRFilterNode
MediaElementAudioSourceNode
MediaStreamAudioDestinationNode
MediaStreamAudioSourceNode
OfflineAudioCompletionEvent
OfflineAudioContext
OscillatorNode
PannerNode
PeriodicWave
StereoPannerNode
WaveShaperNode