musicblocks icon indicating copy to clipboard operation
musicblocks copied to clipboard

Deprecation: The ScriptProcessorNode is deprecated. Should Use AudioWorkletNode instead.

Open dhruvchandak30 opened this issue 1 year ago β€’ 9 comments

Description

ScriptProcessorNode is deprecated from the Chrome64 and replaced with AudioWorklet.

Due to which errors are displayed in console image

Expected Behavior

We should migrate to AudioWorklet.

Environment:

  • Operating System: [e.g., Windows, macOS, Linux]
  • Browser (if applicable): [e.g., Chrome, Firefox, Safari]
  • Version of Software/Project: [e.g., v1.0.0]

Checklist

  • [x] I have read and followed the project's code of conduct.
  • [x] I have searched for similar issues before creating this one.
  • [x] I have provided all the necessary information to understand and reproduce the issue.
  • [x] I am willing to contribute to the resolution of this issue.

Thank you for contributing to our project! We appreciate your help in improving it.

πŸ“š See contributing instructions.

πŸ™‹πŸΎπŸ™‹πŸΌ Questions: Community Matrix Server.

dhruvchandak30 avatar Jan 09 '24 12:01 dhruvchandak30

@walterbender Sir should we change to Audio Worklet ref:https://developer.chrome.com/blog/audio-worklet Can I work on this issue?

dhruvchandak30 avatar Jan 09 '24 12:01 dhruvchandak30

Feel free to work on it. Please be sure to test in non-Chrome env. too.

walterbender avatar Jan 09 '24 12:01 walterbender

Hi @dhruvchandak30, are you working on this issue? asked as no one is assigned

mohitvdx avatar Jan 13 '24 15:01 mohitvdx

@dhruvchandak30 , Are you working on this issue? If not I want to work on this.

sujithyadav998 avatar Jan 18 '24 13:01 sujithyadav998

@dhruvchandak30 , Are you working on this issue? If not I want to work on this.

You can work on it.

dhruvchandak30 avatar Jan 18 '24 13:01 dhruvchandak30

@sujithyadav998 Are you working on this issue still? If not, I would like to.

Bengowang avatar Apr 02 '24 16:04 Bengowang

No need to ask permission.

walterbender avatar Apr 02 '24 16:04 walterbender

Tone.js is the source of the deprecation. Does anyone know if the Tone.js used in Music Blocks is the same as the web audio framework here? If that's the case, then fixing this issue might be a matter of getting the most recent version.

Bengowang avatar Apr 06 '24 22:04 Bengowang

We use webaudio through ttone.js. not sure what version we are using but maybe we need to update.

walterbender avatar Apr 07 '24 11:04 walterbender