Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wavetable Synth demo breaks after switching from polyphonic mode #361

Open
terryzfeng opened this issue May 14, 2024 · 3 comments
Open

Wavetable Synth demo breaks after switching from polyphonic mode #361

terryzfeng opened this issue May 14, 2024 · 3 comments

Comments

@terryzfeng
Copy link
Collaborator

terryzfeng commented May 14, 2024

Steps to reproduce:

  1. Open Demo: https://googlechromelabs.github.io/web-audio-samples/demos/wavetable-synth/
  2. Open console
  3. Type context.resume()
  4. Check box to switch to polyphonic mode
  5. 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

@terryzfeng terryzfeng changed the title Wavetable Synth demo breaks after switching from from polyphonic. Wavetable Synth demo breaks after switching from polyphonic mode May 14, 2024
@mjwilson-google
Copy link
Collaborator

I can't reproduce this. Are you launching with the no user gesture command line flag?

@Kizjkre
Copy link
Collaborator

Kizjkre commented Jul 17, 2024

I was able to reproduce this through a more convoluted method, updated in the issue description.

@mjwilson-google
Copy link
Collaborator

I reproduced it with the updated steps, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants