Class: DistortionFilter

filters.DistortionFilter

Filter for adding adding delaynode.

new filters.DistortionFilter (amount) overrides

Name Type Default Description
amount 0

The amount of distoration from 0 to 1.

Extends

Members

amount number

The amount of distortion to set.

Inherited Properties

From class filters.Filter

destination AudioNode inherited

The node to connect for the filter to the previous filter.

source AudioNode inherited

The node to connect for the filter to the previous filter.

Inherited Methods

From class filters.Filter

connect (destination) void inherited

Connect to the destination.

Name Type Description
destination AudioNode

The destination node to connect the output to

destroy () void inherited

Destroy the filter and don't use after this.

disconnect () void inherited

Completely disconnect filter from destination and source nodes.

init (destination, source) void protected inherited

Reinitialize

Name Type Attributes Description
destination AudioNode
source AudioNode <optional>