function triggerSound(buffer, time = 0) {
      const source = this.audio.createBufferSource();
      source.buffer = buffer;
      source.connect(this.audio.destination);
      source.start(time);
    }
// basic web audio API playback function
basic web audio API playback function
basic web audio API playback function
function triggerSound(buffer, time = 0) {
      const source = this.audio.createBufferSource();
      source.buffer = buffer;
      source.connect(this.audio.destination);
      source.start(time);
    }
function triggerSound ( buffer , time = 0 ) { const source = this . audio . createBufferSource ( ) ; source . buffer = buffer ; source . connect ( this . audio . destination ) ; source . start ( time ) ; }
basic web audio API playback function
basic web audio API playback function