GoogleChromeLabs / web-audio-samples

Web Audio API samples by Chrome Web Audio Team
https://bit.ly/web-audio-samples
Apache License 2.0
672 stars 192 forks source link

Wavetable Synth demo breaks after switching from polyphonic mode #361

Open terryzfeng opened 1 month ago

terryzfeng commented 1 month ago

Steps to reproduce:

  1. Open Demo: https://googlechromelabs.github.io/web-audio-samples/demos/wavetable-synth/
  2. Check box to switch to polyphonic mode
  3. Uncheck box to switch back to monophonic

Error message: Uncaught DOMException: Failed to set the 'buffer' property on 'AudioBufferSourceNode': Cannot set buffer to non-null after it has been already been set to a non-null buffer