Skip to content

Make firstTime local to Note in Wavetable Synth example #416

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

Merged

Conversation

mjwilson-google
Copy link
Collaborator

Fixes #361

The global firstTime variable is left in an inconsistent state when switching between monophonic and polyphonic modes. Make it local to each Node instead.

@mjwilson-google mjwilson-google requested a review from hoch April 15, 2025 23:07
Copy link
Member

@hoch hoch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mjwilson-google mjwilson-google merged commit 57229b2 into GoogleChromeLabs:main Apr 16, 2025
2 of 4 checks passed
@mjwilson-google mjwilson-google deleted the note-first-time branch April 16, 2025 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wavetable Synth demo breaks after switching from polyphonic mode
2 participants