line 79: const audioBuffer = await this.audioContext.decodeAudioData(arrayBuffer)
was giving an error that decodeAudioData cannot read properties of undefined.
Adding an audio context fixed the error for me.
I found this library useful, so wanted to help fix this minor issue. :)
line 79: const audioBuffer = await this.audioContext.decodeAudioData(arrayBuffer)
was giving an error that decodeAudioData cannot read properties of undefined. Adding an audio context fixed the error for me. I found this library useful, so wanted to help fix this minor issue. :)