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

Initialize audio on Strudel on first user interaction (keydown/mouse) #294

Merged
merged 1 commit into from
Sep 15, 2024

Conversation

munshkr
Copy link
Owner

@munshkr munshkr commented Sep 15, 2024

Handle mouse and keydown events from the WebTargetIframe component and send a message to the iframe when they occur. This allows StrudelWrapper to initialize audio immediately after detecting user interaction, ensuring the audio worklet is loaded correctly.

Fixes #286

@munshkr munshkr marked this pull request as ready for review September 15, 2024 13:05
@munshkr munshkr merged commit 7775bba into main Sep 15, 2024
2 checks passed
@munshkr munshkr deleted the 286-strudel-audioworklet branch September 15, 2024 13:08
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.

[strudel] AudioWorklet based effects don't work anymore
1 participant