Warning: The AudioContext was not allowed to start
SmallHollow opened this issue · 2 comments
First of all: thank you for this great library. I've been using it successfully both in Node.js and in browser ('webmidi') in a recent project of mine.
Even now everything works as expected but I still get the following warning messages in Google Chrome's developer console (in 'webmidi' mode):
The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu
At this point my code is only calling JZZ to get a list of MIDI inputs.
The three separate messages point to the lines 2206, 2210 and 2219 of JZZ.js. I've read the link in the message but I'm not sure if this is something I can just ignore or is there something I could do to fix it?
Hi! Thanks for asking!
You can ignore the message.
The audiocontext will be initialized after the user's first gesture.
Ok! Thanks!