Skip to main content
Module

x/commandis/mod.ts>dom.StereoPannerNode

Official framework for Corddis lib ( for Deno only )
Latest
interface dom.StereoPannerNode
implements AudioNode
import { type dom } from "https://deno.land/x/commandis@v0.6.5/mod.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.