Skip to main content
Module

x/evt/mod.ts>dom.PannerNode

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.PannerNode
implements AudioNode
import { type dom } from "https://deno.land/x/evt@v2.4.13/mod.ts";
const { PannerNode } = dom;

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!

Properties

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

Methods

deprecated
setOrientation(
x: number,
y: number,
z: number,
): void
deprecated
setPosition(
x: number,
y: number,
z: number,
): void