I made a project using Tone.js and have been receiving the following error message when the page opens:
The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page.
I understand that this is specific to newer versions of Chrome to keep audio from automatically playing and requires some sort of user gesture to resume the audio context. I have been able to get by this by quickly clicking on the page when the project reloads but if I don’t do it quick enough, the audio does not play later on when prompted in the project through an html button push.
I would like to share this project with others and I don’t think users will know how to work around this issue. I’m looking for a way to resume the audio context that is built into the project so that users will not even know this is an issue and it will work.
Just looking to see if someone has a suggestion.