4 ms·
Please please put the ScriptProcessorNode back in the spec.
by NHQ 5y ago
Please please put the ScriptProcessorNode back in the spec.
- rchaud 5y agoYes! I am using the WaveSurfer [0] library to visualize audio waveforms for a project, which uses this. It works, but Chrome always says 'ScriptProcessorNode is deprecated, use AudioWorkletNode instead'. [0] https://github.com/katspaugh/wavesurfer.js https://github.com/katspaugh/wavesurfer.js
- dkarras 5y agoAnything wrong with audioworklets that are slated to replace it?
- NHQ 5y agoWorklets are out of the main process. That is good for a lot of what the script processors are designed for (compute intensive stuff), but having a script node in the main process is the only way I know to get perfect timing. Plus, the ScriptProcessorNode is just very easy to use for simple scripting, compared to the worklets.