UNPKG

tone

Version:

A Web Audio framework for making interactive music in the browser.

32 lines (31 loc) 855 B
import { ToneAudioNode, ToneAudioNodeOptions } from "../../core/context/ToneAudioNode"; interface SplitOptions extends ToneAudioNodeOptions { channels: number; } /** * Split splits an incoming signal into the number of given channels. * * @example * import { Split } from "tone"; * * const split = new Split(); * // stereoSignal.connect(split); * @category Component */ export declare class Split extends ToneAudioNode<SplitOptions> { readonly name: string; /** * The splitting node */ private _splitter; readonly input: ChannelSplitterNode; readonly output: ChannelSplitterNode; /** * @param channels The number of channels to merge. */ constructor(channels?: number); constructor(options?: Partial<SplitOptions>); static getDefaults(): SplitOptions; dispose(): this; } export {};