import { ToneAudioNode, ToneAudioNodeOptions } from "../../core/context/ToneAudioNode"; import { Positive } from "../../core/type/Units"; interface MergeOptions extends ToneAudioNodeOptions { channels: Positive; } /** * Merge brings multiple mono input channels into a single multichannel output channel. * * @example * var merge = new Merge().toDestination(); * //routing a sine tone in the left channel * //and noise in the right channel * var osc = new Tone.Oscillator().connect(merge.left); * var noise = new Tone.Noise().connect(merge.right); * //starting our oscillators * noise.start(); * osc.start(); * @category Component */ export declare class Merge extends ToneAudioNode { readonly name: string; /** * The merger node for the two channels. */ private _merger; /** * The output is the input channels combined into a sigle (multichannel) output */ readonly output: ChannelMergerNode; /** * Multiple input connections combine into a single output. */ readonly input: ChannelMergerNode; /** * @param channels The number of channels to merge. */ constructor(channels?: Positive); constructor(options?: Partial); static getDefaults(): MergeOptions; dispose(): this; } export {};