Skip to content

The ScriptProcessorNode is deprecated. Use AudioWorkletNode instead. #27

@1j01

Description

@1j01

I have a branch where I started switching to AudioWorkletNode: https://github.com/1j01/guitar/tree/worklet (latest commit: f77d309)

State of this branch: basically working with worklet, but...

  1. createScriptProcessor is used in tuna.js anyways, so it will need
    updating in order to actually do away with the warnings,
    and avoid future bit rot.
    ScriptProcessorNode deprecation warnings Theodeus/tuna#88
  2. String bending doesn't work
  3. Maybe there's an error that can occur where fret is undefined?
    Note implicit assignment at play: (@fret)->
    Note there's GuitarStringProcessor::play and GuitarString::play

Tuna.js relies on ScriptProcessorNode, however, someone has created a fork that uses audio worklets, so it may be worth picking up this work again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions