I am a complete noob, first question on here, so please be gentle! I'm following a basic Javascript for Sound Artists book, but the initial Hello Sound example, seems to not work due to a new need for a gesture input otherwise disabling autoplaying of sound. As I'm going to be exploring and experimenting predominantly with sound, I was wondering if anyone could please advise on a suitable and simple solution to get around this disabled sound issue? Thanks.
var osc = audioContext.createOscillator();
osc.type = "sine";
osc.connect (audioContext.destination);
osc.start (audioContext.currentTime);