StereoPannerNode

js.html.EventTargetAudioNodejs.html.audio.StereoPannerNode (extern class)

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.

Documentation StereoPannerNode by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Instance Members

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


new(context: BaseAudioContext, ?options: Null<StereoPannerOptions>): Void
Name Type Default
context BaseAudioContext
options Null<StereoPannerOptions> (optional)