Acid Synth
- Audio Synthesis uses rough streaming architecture to get chunks out of WebGPU and send control buffers to control a WebGPU compute shader.
- Select different shaders in the Leva control panel to hear different sounds.
- When changing WebGPU Parameters, the sound will stop and will need to be restarted.
- Changing sound parameters will happen at the rate of the chunk duration, so if you change the frequency, it will take a chunk duration to hear the change. (Interpolation options coming soon.)
- Fully refresh the page if things get strange.
- The code below in the live wgsl editor creates the audio data in the WebGPU compute shader.
- Borrowed heavily from sound - acid jam by srtuss on shadertoy: https://www.shadertoy.com/view/ldfSW2