安全上下文
此特征只可用于
安全上下文
(HTTPS),在某些或所有
支持浏览器
.
AudioWorklet
接口在
Web 音频 API
is used to supply custom audio processing scripts that execute in a separate thread to provide very low latency audio processing.
The worklet's code is run in the
AudioWorkletGlobalScope
global execution context, using a separate Web Audio thread which is shared by the worklet and other audio nodes.
Access the audio context's instance of
AudioWorklet
透过
BaseAudioContext.audioWorklet
特性。
AudioWorklet
interface does not define any properties of its own, but does inherit properties of
Worklet
.
This interface inherits methods from
Worklet
。
AudioWorklet
interface does not define any methods of its own.
AudioWorklet
has no events to which it responds.
见
AudioWorkletNode
for complete examples of custom audio node creation.
| 规范 | 状态 | 注释 |
|---|---|---|
|
Web 音频 API
The definition of 'AudioWorklet' in that specification. |
工作草案 | 初始定义。 |
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
AudioWorklet
|
Chrome 66 | Edge 79 | Firefox 76 | IE 不支持 No | Opera Yes | Safari 不支持 No | WebView Android 66 | Chrome Android 66 | Firefox Android 不支持 No | Opera Android Yes | Safari iOS 不支持 No | Samsung Internet Android 9.0 |
完整支持
不支持
AudioWorkletGlobalScope
— the global execution context of an
AudioWorklet
AudioWorklet
AnalyserNode
AudioBuffer
AudioBufferSourceNode
AudioContext
AudioContextOptions
AudioDestinationNode
AudioListener
AudioNode
AudioNodeOptions
AudioParam
AudioProcessingEvent
AudioScheduledSourceNode
AudioWorkletGlobalScope
AudioWorkletNode
AudioWorkletProcessor
BaseAudioContext
BiquadFilterNode
ChannelMergerNode
ChannelSplitterNode
ConstantSourceNode
ConvolverNode
DelayNode
DynamicsCompressorNode
GainNode
IIRFilterNode
MediaElementAudioSourceNode
MediaStreamAudioDestinationNode
MediaStreamAudioSourceNode
OfflineAudioCompletionEvent
OfflineAudioContext
OscillatorNode
PannerNode
PeriodicWave
StereoPannerNode
WaveShaperNode