Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/index.ts>dom.StereoPannerNode

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

The pan property takes a unitless value between -1 (full left pan) and 1 (full right pan). This interface was introduced as a much simpler way to apply a simple panning effect than having to use a full PannerNode.