https://ericoporto.github.io/bgmJs/
Much simpler implementation, you can read the JS code that was manually written. There is a link to the repository in the page.
It's used in a side project I've had around for a while: https://random-music-generators.onrender.com/
https://github.com/sgossner/VCSL
There's also Tidal Cycles Drum Machines (and by the looks of things quite a few other tidal sample repos), but I'm not actually sure if this is public-domain
for wasm you can have a look on my work:
https://github.com/chaosprint/glicol
I wrote the audio engine in Rust and load it in JS with AudioWorklet and SharedArrayBuffer
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...
Is like saying "Synthesizing Music from a binary file" if you write a S3M player.
Outside of that, congrats. I think the author has enough "fame credits" to make any project an instant success. Kudos for that.
This is just using JSON as an encoding format. (And as a "legacy" one, too, it seems like its moved to JS.)
> it becomes easy to imagine using existing JSON based tools to create music.
No … it really doesn't? I am trained in both music and JSON, and I have no idea how that'd work.
Because you don't have "something that 'plays sound' from JSON" you have something that plays sound from application/sonant-x+json ; the interesting bits are in the "application/sonant-x" but your tooling only understands the "+json".
P.S. what's the license for pl_synth? I couldn't find one on the repo.