A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.mozilla.org/en-US/docs/Web/API/StereoPannerNode below:

StereoPannerNode - Web APIs | MDN

StereoPannerNode

Baseline Widely available

The StereoPannerNode interface of the Web Audio API represents a simple stereo panner node that can be used to pan an audio stream left or right. It is an AudioNode audio-processing module that positions an incoming audio stream in a stereo image using a low-cost equal-power panning algorithm.

The pan property takes a unitless value between -1 (full left pan) and 1 (full right pan). This interface was introduced as a much simpler way to apply a simple panning effect than having to use a full PannerNode.

EventTarget AudioNode StereoPannerNode Number of inputs 1 Number of outputs 1 Channel count mode "clamped-max" Channel count 2 Channel interpretation "speakers" Constructor
StereoPannerNode()

Creates a new instance of a StereoPannerNode object.

Instance properties

Inherits properties from its parent, AudioNode.

StereoPannerNode.pan Read only

An a-rate AudioParam representing the amount of panning to apply.

Instance methods

No specific method; inherits methods from its parent, AudioNode.

Example

See BaseAudioContext.createStereoPanner() for example code.

Specifications Browser compatibility See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.3