This thread https://forum.juce.com/t/juce-plugins-in-webassembly/25255 , particularly the demo here https://webaudiomodules.org/demos/wasm/dexed.html (try using the ZXCV row on your keyboard) are incredibly promising, as they're straightforward ports of real synthesizers.
Other comments have mentioned that this is coming to Firefox as well; core contributors on the media team have been discussing how it's a priority as recently as two days ago: https://bugzilla.mozilla.org/show_bug.cgi?id=1062849
Really exciting times for the web audio space!
let amp = 0;
const maxamp = 0.5;
const freq = 880;
function loop(numFrames, outL, outR, sampleRate) {
const steps = sampleRate / freq;
const delta = maxamp/steps;
for (let i = 0; i < numFrames; i++) {
amp += delta;
outL[i] = amp;
outR[i] = amp;
if (amp > maxamp) amp = 0.0;
}
}http://superdupercollider.blogspot.com/2009/05/crushing-bits...
Yes, it's 4 years old.
Lame. You are in a tech forum with techies and you are complaining about having to run the latest & greatest. How is this constructive?
Sometimes you need to run the newest stuff in order to, you know, use the newest stuff. As a techie, you should know that, right?
The alternative would be flash, but then you couldn't have done this demo....
OS / Chrome version? Were you clicking the start button or using the key command?
Let’s not walk into the old MSIE trap all over again.