BaseAudioContext: thuộc tính audioWorklet

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since April 2021.

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

Thuộc tính chỉ đọc audioWorklet của giao diện BaseAudioContext trả về một thể hiện của AudioWorklet có thể được dùng để thêm các lớp dẫn xuất từ AudioWorkletProcessor nhằm triển khai xử lý âm thanh tùy chỉnh.

Giá trị

Một thể hiện AudioWorklet.

Ví dụ

Để xem ví dụ đầy đủ minh họa xử lý âm thanh do người dùng tự định nghĩa, hãy xem trang AudioWorkletNode.

Thông số kỹ thuật

Specification
Web Audio API
# dom-baseaudiocontext-audioworklet

Khả năng tương thích với trình duyệt

Xem thêm