Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/ogone/src/ogone.dom.d.ts>StereoPannerNode

Advanced Web Composition for Future
Latest
interface StereoPannerNode
implements AudioNode
import { type StereoPannerNode } from "https://deno.land/x/ogone@revb3/src/ogone.dom.d.ts";

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