Skip to content

Interface: ChannelMergerNode ​

Defined in: types/desktop-engine.d.ts:5117

One mono input per output channel

Extends ​

Properties ​

channelCount ​

ts
channelCount: number;

Defined in: types/desktop-engine.d.ts:4874

1 to 32

Inherited from ​

AudioNode.channelCount


channelCountMode ​

ts
channelCountMode: ChannelCountMode;

Defined in: types/desktop-engine.d.ts:4875

Inherited from ​

AudioNode.channelCountMode


channelInterpretation ​

ts
channelInterpretation: ChannelInterpretation;

Defined in: types/desktop-engine.d.ts:4876

Inherited from ​

AudioNode.channelInterpretation


context ​

ts
readonly context: BaseAudioContext;

Defined in: types/desktop-engine.d.ts:4870

Inherited from ​

AudioNode.context


numberOfInputs ​

ts
readonly numberOfInputs: number;

Defined in: types/desktop-engine.d.ts:4871

Inherited from ​

AudioNode.numberOfInputs


numberOfOutputs ​

ts
readonly numberOfOutputs: number;

Defined in: types/desktop-engine.d.ts:4872

Inherited from ​

AudioNode.numberOfOutputs

Methods ​

addEventListener() ​

ts
addEventListener(
   type, 
   listener, 
   options?
): void;

Defined in: types/desktop-engine.d.ts:3934

A boolean options (capture) is ignored

Parameters ​

ParameterType
typestring
listener| EventListenerOrEventListenerObject | null
options?| boolean | AddEventListenerOptions

Returns ​

void

Inherited from ​

AudioNode.addEventListener


connect() ​

Call Signature ​

ts
connect<T>(
   destinationNode, 
   output?, 
   input?
): T;

Defined in: types/desktop-engine.d.ts:4878

Connects an output to an input of a node of the same context; returns that node, for chaining

Type Parameters ​
Type Parameter
T extends AudioNode
Parameters ​
ParameterType
destinationNodeT
output?number
input?number
Returns ​

T

Inherited from ​

AudioNode.connect

Call Signature ​

ts
connect(destinationParam, output?): void;

Defined in: types/desktop-engine.d.ts:4880

Adds an output to the param's value

Parameters ​
ParameterType
destinationParamAudioParam
output?number
Returns ​

void

Inherited from ​

AudioNode.connect


disconnect() ​

Call Signature ​

ts
disconnect(): void;

Defined in: types/desktop-engine.d.ts:4882

Disconnects every output, or the outputs / connections given

Returns ​

void

Inherited from ​

AudioNode.disconnect

Call Signature ​

ts
disconnect(output): void;

Defined in: types/desktop-engine.d.ts:4883

Parameters ​
ParameterType
outputnumber
Returns ​

void

Inherited from ​

AudioNode.disconnect

Call Signature ​

ts
disconnect(
   destinationNode, 
   output?, 
   input?
): void;

Defined in: types/desktop-engine.d.ts:4884

Parameters ​
ParameterType
destinationNodeAudioNode
output?number
input?number
Returns ​

void

Inherited from ​

AudioNode.disconnect

Call Signature ​

ts
disconnect(destinationParam, output?): void;

Defined in: types/desktop-engine.d.ts:4885

Parameters ​
ParameterType
destinationParamAudioParam
output?number
Returns ​

void

Inherited from ​

AudioNode.disconnect


dispatchEvent() ​

ts
dispatchEvent(event): boolean;

Defined in: types/desktop-engine.d.ts:3937

Returns false when a listener called preventDefault() on a cancelable event

Parameters ​

ParameterType
eventEvent

Returns ​

boolean

Inherited from ​

AudioNode.dispatchEvent


removeEventListener() ​

ts
removeEventListener(type, listener): void;

Defined in: types/desktop-engine.d.ts:3935

Parameters ​

ParameterType
typestring
listener| EventListenerOrEventListenerObject | null

Returns ​

void

Inherited from ​

AudioNode.removeEventListener

The SDK is released under the Apache License 2.0