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

Update volume example to use web audio API #1605

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from

Conversation

porjo
Copy link

@porjo porjo commented Apr 9, 2023

Description

Update volume example to use web audio API. Closes #1509

NOTE: soundmeter.js is no longer loaded via index.html but instead via Javascript using Worklet addModule() . As such, CORS comes into effect and files must be served from a HTTP file server (not referenced with file:///)

Credit to this Stackoverflow post which was used as a reference: https://stackoverflow.com/a/62732195/202311

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.

Code sample using depreciated createScriptProcessor function
1 participant