You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I already have my audiograph running, and I need to dynamically load superpowered and use some of the provided nodes. Currently Superpowered creates it's own audiocontext, so I would like to be able to provide the one I already have. The alternative is to either always load superpowered and use its context (ideally not for a number of reasons), or pipe audio between the audiocontext via a mediastream which sounds pretty brittle.
Any ideas?!
The text was updated successfully, but these errors were encountered:
Good suggestion, it sounds like a simple enough change for us to make. We'll include this change in v2.7.5.
For now, I've included a modified version (rough draft) of the lib that allows you to pass a previously created AudioContext as the third argument to the SuperpoweredWebAudio constructor.
So you constructor should now look something like this
I already have my audiograph running, and I need to dynamically load superpowered and use some of the provided nodes. Currently Superpowered creates it's own audiocontext, so I would like to be able to provide the one I already have. The alternative is to either always load superpowered and use its context (ideally not for a number of reasons), or pipe audio between the audiocontext via a mediastream which sounds pretty brittle.
Any ideas?!
The text was updated successfully, but these errors were encountered: