安全上下文
此特征只可用于 安全上下文 (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.
工作草案 初始定义。

浏览器兼容性

The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request. 更新 GitHub 上的兼容性数据
桌面 移动
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
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

图例

完整支持

完整支持

不支持

不支持

另请参阅

元数据

  • 最后修改: