The ScriptProcessorNode is deprecated. Use AudioWorkletNode instead
Hello,
There is a sound recorder and a recorded sound player on the site. It's fine with Firefox, but I get the following warning in Chronium-based browsers.
I also asked this question as a question on Stack overflow. Can you help with this issue?
Thank you
@emresaracoglu I am in the same boat as you. Did you even come up with a resolution to this?
Unfortunately, I couldn't find a solution. After a few days, I gave up and quit. @RyanG2016
@emresaracoglu Thanks for the reply.
You don't have to worry too much about Chrome's reminder, ScriptProcessor currently supports the best among all browsers. On the contrary, the performance of AudioWorklet is not very outstanding, as it generates 375 callbacks per second. It is not recommended to use AudioWorklet on mobile devices.
AudioWorklet Test: https://xiangyuecn.gitee.io/recorder/ ,there is an option to enable AudioWorklet at the bottom of the page
大家可以不用太在意Chrome的这个提醒,ScriptProcessor目前所有浏览器支持的最好。反倒是AudioWorklet的表现不怎么出色,它会产生每秒375次回调,不太建议在移动设备使用AudioWorklet。
2023-06-18