Closed SephReed closed 4 years ago
I think this is covered by https://github.com/rustwasm/wasm-bindgen/issues/210, so I'm going to close this in favor of that.
(although if it's got pieces which aren't part of that, please feel free to file a new issue!)
Summary
I'd like to create and register an
AudioWorkletProcessor
using Rust. I'm still not sure if it's possible.Additional Details
I've also put up a question on StackOverflow.
I'm currently stuck on having to extend
AudioWorkletProcessor
for the sake of overriding theprocess()
function. And I'm also not yet sure if it's going to be possible to accessAudioWorkletGlobalScope
. On top of all this, I have no idea if it will play well with webpack / or any other bundler. This is what I've got so far:Potential Incentive
I think that multi-threaded audio processing is an extremely good example of the power of wasm, so I'd probably not be the only person who could really use an example of how to set up an AudioWorklet using Rust.
Thanks for this project!