To play audio using the Web Audio API, we need to get an ArrayBuffer of audio data and pass it to a BufferSource for playback.
To get an audio buffer of the sound to play, you need to use the AudioContext.decodeAudioData method like so:
const audioCtx = new (window.AudioContext || window.webkitAud...