ScriptProcessorNode has been deprecated and replaced by AudioWorkletNode, which by now is supported by all the major browsers. Refactor the player code to use an AudioWorkletNode.
Since this also results in the mixing to happen in an AudioWorkletProcessor running in the Web Audio rendering thread, this should yield more stable audio performance.
ScriptProcessorNode has been deprecated and replaced by AudioWorkletNode, which by now is supported by all the major browsers. Refactor the player code to use an AudioWorkletNode.
Since this also results in the mixing to happen in an AudioWorkletProcessor running in the Web Audio rendering thread, this should yield more stable audio performance.