A synthesizer built from scratch in C++ and made available on the web through WebAssembly.
The following tools are required for spinning up a local instance of WASM SYNTH. Click on the links to view the installation manuals:
- emscripten (
emcc version 1.39.0
) - rollupjs
My previous goal with this project was to learn audio programming. I wrote about it in this blog post. Since until then, a cambrian explosion of webassembly-based browser languages have appeared, I'm currently trying to make WASM SYNTH work properly again.
Since it seems that many browsers-vendors are arbitrarily changing APIs these days, I'm gonna keep track of WASM SYNTHs compatability here.
Commit | Chrome | Firefox | Safari | Brave |
---|---|---|---|---|
c4379418bc1cfe116dbf6bc51e25a42fdaa9c6f3 | ✓ 81.0 | ✓ 76.0 | ✗ 13.0.4 | ✓ 1.8.86 |
npm run dev
and open the displayed site in one of the above browsers- Hit some notes on your keyboard or by pressing with the mouse
- Toggle some UI elements (e.g. toggle off an oscillator)
That's great! Any feedback or help is welcome! Please get in touch!
To install:
$ npm i
Before running the below specified commands, you'll have to set emsdk's environment variable as is detailed on the above linked page.
For development:
$ npm run dev
To build:
$ npm run build
See License.