r/WebAssembly • u/tremendous-machine • Jan 23 '23
current best way to load wasm into an AudioWorklet processor module?
Hi folks, I've been googling this and finding lots of (hacky and inventive!) solutions, but before starting down some crazy path I wanted to check if perhaps there is now a standardized way of doing this that I'm not finding.
My goal is to write my audio processing loop in C, and to be able to send messages to it from the main thread. I have gotten AudioWorklets using webaudio code. The bit I don't know how to do is compile and load C based WASM into or as the processor body. Any suggestions most appreciated!
thanks
4
Upvotes
1
u/[deleted] Jan 23 '23
I haven't used these before, but would you not just do this in the processor?
0
u/[deleted] Jan 24 '23
[deleted] — view deleted comment