News for hackers. Stuff that matters.
Re:Web FM synthesizer made with HTML5 by fenomas on Monday October 30, 2023 @12:44AM (#38065777)
Very neat! Though I got prominent clicks and artifacts in both chrome and firefox.

If anyone's interested, some years ago I made a wrapper library for things like this, to wallpaper over the famously hairy WebAudio synthesis API. Basically you pass in a static object describing the audio graph and parameters you want, and the lib creates the WebAudio nodes and then cleans them up after the sound releases (hopefully without clicks, unless you specifically want them).

https://github.com/fenomas/wasgen

Re:Web FM synthesizer made with HTML5 by chaosprint on Monday October 30, 2023 @06:09AM (#38067515)
clicks are challenging for web audio. your project looks great. I have a similar work here. Hopefully it can achieve performant audio synthesis in browsers:

https://glicol.js.org/

Re:Web FM synthesizer made with HTML5 by fiala__ on Monday October 30, 2023 @07:37AM (#38068128)
Nice one! At BBC R&D we built a similar declarative library for React https://github.com/bbc/r-audio