Skip to content

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