mattdiamond / Recorderjs

A plugin for recording/exporting the output of Web Audio API nodes
4.16k stars 1.46k forks source link

The ScriptProcessorNode is deprecated. Use AudioWorkletNode instead #210

Open emresaracoglu opened 2 years ago

emresaracoglu commented 2 years ago

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

RyanG2016 commented 2 years ago

@emresaracoglu I am in the same boat as you. Did you even come up with a resolution to this?

emresaracoglu commented 2 years ago

Unfortunately, I couldn't find a solution. After a few days, I gave up and quit. @RyanG2016

RyanG2016 commented 2 years ago

@emresaracoglu Thanks for the reply.

xiangyuecn commented 1 year ago

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