Skip to content

Pluck Synth Issues without Standardized Audio Context #1343

@gerardsmyth

Description

@gerardsmyth

For performance reasons we are using Tone without the Standardized Audio Context library. This is generally working great in Chrome, but unfortunately, we are getting some audio issues with the Pluck Synth.

From investigating, it appears as if the process() method in the worklet for the FeedbackCombFilter is only receiving one channel of input data when there is silence, (ie after the pluck noise has gone through), which leads to old data being left in the second channel of the DelayLine.

If the standardized audio context is being used then the worklet seems to always get two channels of input data, even if all the values are 0, which seems to prevent theissue.

Do you know what the standardized audio context is doing to change this behaviour, or have any suggestions on how we might be able to resolve this without using the whole library?

Many thanks for your help.
Gerard

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions