For WASM with C++, I recently created a simple example using the new-ish AudioWorklet support in Emscripten, showing how to create an AudioWorklet oscillator with parameters. It removes a lot of the boiler plate you used to have to do, but the docs are a bit lacking.
Comments
very nice. really love the ui.
for wasm you can have a look on my work:
https://glicol.org/
https://github.com/chaosprint/glicol
I wrote the audio engine in Rust and load it in JS with AudioWorklet and SharedArrayBuffer
That's super cool!
For WASM with C++, I recently created a simple example using the new-ish AudioWorklet support in Emscripten, showing how to create an AudioWorklet oscillator with parameters. It removes a lot of the boiler plate you used to have to do, but the docs are a bit lacking.
https://github.com/tomduncalf/emscripten-audio-worklet-examp...