Relative Content

Tag Archive for javascriptaudioaudio-worklet

audioworkletProcessor process() stop when event onmessage

I encounter a problem with my AudioWorkletProcessor class.
I have a continuing flow of audio data, my client gets this flow, prepare the buffer and send it to my AudioWorkletProcessor.
But when it’s sent the process function is stopped to let the “port.onmessage” run, it’s not a like it’s stopped too long but sufficiently to have a cut in my audio.
here’s my code :