The annoying thing about the web audio api is that there seems to be no easy way to do math on signals - like scaling a signal to a certain range; the way to do this seems to mostly involve combinations of gain nodes and constant value signals... Thinking of going with #faust for web assembly instead; have to figure out how to load samples into it though...
Okay, so Tone.js seems to offer what I need - a way to route the signals however I want plus objects for math operations and useful abstractions (as well as the very convenient LFO node with range arguments.)
Feels close enough to #SuperCollider in fact.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!