Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 1.56 KB

File metadata and controls

48 lines (31 loc) · 1.56 KB
sidebar_position 6

import AudioNodePropsTable from "@site/src/components/AudioNodePropsTable" import { Optional, ReadOnly } from '@site/src/components/Badges';

StereoPannerNode

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

Constructor

constructor(context: BaseAudioContext, stereoPannerOptions?: StereoPannerOptions)

StereoPannerOptions

Inherits all properties from AudioNodeOptions

Parameter Type Default Description
pan number - Number representing pan value

Or by using BaseAudioContext factory method: BaseAudioContext.createStereoPanner()

Properties

It inherits all properties from AudioNode.

Name Type Description
pan AudioParam a-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).