johnnesky/beepbox

Deprecation of ScriptProcessorNode

Opened this issue · 1 comments

There's a deprecation message for synth.ts on Chrome browser:
[Deprecation] The ScriptProcessorNode is deprecated. Use AudioWorkletNode instead. (https://bit.ly/audio-worklet)

Is that something that can be addressed?

I should fix this eventually, but it won't be easy. AudioWorkletNode requires separate JavaScript execution environments for the synth and the UI, which would make it a lot harder for the editor interface to interact with the synth code.