Skip to main content

WGSL Audio Editor, no real-time inputs

  • Audio Synthesis uses rough streaming architecture to get chunks out of WebGPU.
  • 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.
  • Some of the sounds reveal the underlying architecture of the WebGPU shader, such a s the `globalIdX` and `time` shaders.
  • 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.