Skip to main content

StereoPannerNode

The StereoPannerNode interface represents the change in ratio between two output channels (f. e. left and right speaker).

AudioNode properties

Number of inputs1
Number of outputs1
Channel count2
Channel count modeclamped-max
Channel interpretationspeakers

Constructor

BaseAudioContext.createStereoPanner()

Properties

It inherits all properties from AudioNode.

NameTypeDescription
panAudioParama-rate AudioParam representing how the audio signal is distributed between the left and right channels.

Methods

StereoPannerNode does not define any additional methods. It inherits all methods from AudioNode.

Remarks

pan

  • Default value is 0
  • Nominal range is -1 (only left channel) to 1 (only right channel).