Class: StereoFilter

filters.StereoFilter

Filter for adding Stereo panning.

new filters.StereoFilter (pan) overrides

Name Type Default Description
pan number 0

The amount of panning, -1 is left, 1 is right, 0 is centered.

Extends

Members

pan number

Set the amount of panning, where -1 is left, 1 is right, and 0 is centered

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>