realtime-bpm-analyzer icon indicating copy to clipboard operation
realtime-bpm-analyzer copied to clipboard

createScriptProcessor deprecation

Open LennyPenny opened this issue 3 years ago • 2 comments

Hey, awesome job on this!

I had a look through the code and noticed it uses createScriptProcessor to process the audio data. This seems to be deprecated now and AudioWorklets are the replacement.

Do you have any plans to switch over to those?

LennyPenny avatar Jan 30 '22 18:01 LennyPenny

Hello @LennyPenny,

Yes I know that and nothing is done about it yet.

Feel free to make a Pull Request, your help would be really appreciated here !

If not it will be done when I will have the time to do it (I can't give you a date).

dlepaux avatar Feb 01 '22 16:02 dlepaux

Hi @LennyPenny I'm currently preparing a major release that includes the migration to AudioWorklets, TypeScript and an Event driven design instead of callback function in the configuration. Stay tuned :)

dlepaux avatar Feb 15 '22 13:02 dlepaux

Hello @LennyPenny, I've just release the v3 of the library that use AudioWorklets, enjoy

dlepaux avatar Dec 01 '22 13:12 dlepaux