-
Notifications
You must be signed in to change notification settings - Fork 7
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
Failed to load second WebAudioModule #97
Comments
Hmmm this seems to be a bug in the ObXd wam. When I try to load other WAMs the error never happens. It only happens when ObXd is loaded, then other wam fail. We investigate... |
Hmmm it seems that the error raised by Obxd should be caught and displayed as a warning... |
What are you trying to do? Thanks for notifying us the error with ObXd... |
@micbuffa I've put together example yojeek@d0c11df I've bundled Steps to reproduce:
I assumed that something wrong with bundling part. |
Hi! I'll try to see what's wrong in your example. In between, I quickly made a small example that might help, that requires no "building step at all": https://mega.nz/file/TtxS0KpS#ef1LI0T8lpFXbGwKvRD-cjuqlXnc5nzCOVWrWggkTXI This examples has all the api, sdk, sdk-parammgr pre-built in a libs dir. It also uses two web components we wrote for simplifying the embedding if WAMs in a HTML page ( and ), you can edit the index.html file. What is interesting is that you have here an example of reuse of existing WAMs. |
@micbuffa I've tried to replace synth101 from this repo with synth101 from https://github.com/boourns/wam-community and the later version works just fine with bundled Added it to my example for comparison : yojeek@be72c6a |
I also took synth101 from https://github.com/boourns/wam-community (after building it) for the example I shared. I just edited the paths to api, sdk and sdk-parammgr from the index.js of synth101. |
I strongly believe that the reason of original issue is absence of identifiers (related PR): #94. Also, it should be stated in readme/wiki that unique identifier is mandatory for a plugin. Once you have two plugins without identifiers everything collapses. |
Thanks for this bug report. We'll try to update the repo rapidly. Indeed, missing ids make sense for this kind of bug. |
See #94 |
Problem
Bundled WebAudioModule examples can be only loaded once. Attempt to load another module ends with
Steps to reproduce
yarn start
Enviorenment
Chrome Version 114.0.5735.198 (Official Build) (x86_64)
MacOS 12.3.1
The text was updated successfully, but these errors were encountered: