StereoPannerNode
The StereoPannerNode interface represents the change in ratio between two output channels (f. e. left and right speaker).
AudioNode properties
| Number of inputs | 1 |
| Number of outputs | 1 |
| Channel count | 2 |
| Channel count mode | clamped-max |
| Channel interpretation | speakers |
Constructor
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).