Skip to content

Refactor to use AudioWorkletNode instead of ScriptProcessorNode #28

@electronoora

Description

@electronoora

ScriptProcessorNode has been deprecated and replaced by AudioWorkletNode, which by now is supported by all the major browsers. Refactor the player code to use an AudioWorkletNode.

Since this also results in the mixing to happen in an AudioWorkletProcessor running in the Web Audio rendering thread, this should yield more stable audio performance.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions