javascript - Multiple AudioContexts? -


i trying create react app on meteorjs uses web audio api. multi page app each page uses web audio. declaring audiocontexts in pages. have reached limit of 6 audio contexts allowed in application. how declare 1 audio context whole app?

uncaught domexception: failed construct 'audiocontext': number of hardware contexts provided (6) greater or equal maximum bound (6).

i have routes file, can declare common objects maybe? how go exporting declared context? tried exporting audiocontext page latest page trying make not work. audiocontext.close(); not work when unmount components in other pages. please help. thanks.

just use 1 audio contect in master or index page => childs should able use context in master... or doesn't work that? perhaps have coding example can try out problem.


Comments

Popular posts from this blog

javascript - Create a stacked percentage column -

Optimising Firebase database by automatically overwriting data -

javascript - Angular UI-Grid customTemplate directive causing rows to load slowly/? -