WAMs

AudioWorklet polyfill

OBXD and DEXED demos run now in stable Chrome, Firefox and Safari. Edge testing is still pending, can someone try it please? AudioWorklet polyfill source code is available at github. It is loosely based on Houdini’s AnimationWorklet polyfill, repurposed for running AudioWorkletProcessor (and AudioWorkerGlobalScope) in a Web Worker, and AudioWorkerNode in main thread. Audio output is through main thread ScriptProcessorNode (SPN). Worker and SPN are interconnected via SharedArrayBuffer. SharedArrayBuffer is very cool. Chrome stable seem to work with 256 sample buffer size without audio glitches…

Read More »