Skip to main content
Module

x/evt/mod.ts>dom.ChannelSplitterNode

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

The ChannelSplitterNode interface, often used in conjunction with its opposite, ChannelMergerNode, separates the different channels of an audio source into a set of mono outputs. This is useful for accessing each channel separately, e.g. for performing channel mixing where gain must be separately controlled on each channel.