WebWorkletAudio
class WebWorkletAudio
The page's half of the sound of a player that runs in a Web Worker (#100): the AudioContext and the AudioWorklet, which only a page may own, and the port a worker writes the sound to.
An application uses KitePlayerWorker in kiteplayer, which builds this itself. The worker writes blocks to workerPort and the worklet reports back on it, so the page's thread is not in the path of the sound at all.
Properties
Link copied to clipboard
Seconds between handing a frame over and hearing it, or null when the browser gives no figure.
Link copied to clipboard
The rate of the page's audio device, which the worker's sink resamples to.
Link copied to clipboard
The worker's end of the channel to the worklet. Transfer it to the worker, once.