Audio Worklet and WebAssembly
A basic pattern to use Audio Worklet with WebAssembly. The AudioWorkletProcessor simply bypasses (copies) the audio via the WebAssembly function.
See Chrome Developers Article: Audio Worklet Design Pattern for more details.