#HowToThing#015 — A special one: Creating a polyphonic & multitimbral synth with stochastic sequencer to generate offline audio (not WebAudio!), rendered via fibers (co-routines) and exporting the result as WAV file. Each synth voice uses a randomized config & FX pipeline for each note played (osc → adsr → SVF → filter delay line). Generated audio is attached.
This project is also available as new example #130 in the thi.ng/umbrella monorepo (originally based on a workshop exercise @ University of Applied Sciences, Augsburg, Nov 2022)
Now, if anyone would have some pointers how to easily get a WebAudio AudioWorklet going with @vite, then that example could be updated to produce realtime audio and I could listen to that for hours in the background... 🥰🎧
AFAICT support for worklets is still outstanding and so far I only managed it via pre-compiling/bundling the worklet code in a separate build step, but it's not great to work with that way during dev...