PannerNode
A PannerNode always has exactly one input and one output: the input can be mono or stereo but the output is always stereo (2 channels); you can't have panning effects without at least two audio channels!
interface PannerNode extends AudioNode {
coneInnerAngle: number;
coneOuterAngle: number;
coneOuterGain: number;
distanceModel: DistanceModelType;
maxDistance: number;
readonly orientationX: AudioParam;
readonly orientationY: AudioParam;
readonly orientationZ: AudioParam;
panningModel: PanningModelType;
readonly positionX: AudioParam;
readonly positionY: AudioParam;
readonly positionZ: AudioParam;
refDistance: number;
rolloffFactor: number;
setOrientation(
x: number,
y: number,
z: number,
): void;setPosition(
}x: number,
y: number,
z: number,
): void;var PannerNode: {
prototype: PannerNode;
new (context: BaseAudioContext, options?: PannerOptions): PannerNode;
};§Properties
§
distanceModel: DistanceModelType
[src]§
readonly orientationX: AudioParam
[src]§
readonly orientationY: AudioParam
[src]§
readonly orientationZ: AudioParam
[src]§
panningModel: PanningModelType
[src]§
readonly positionX: AudioParam
[src]§
readonly positionY: AudioParam
[src]§
readonly positionZ: AudioParam
[src]