Skip to content

@liminal-hq/undertone / AudioDestinationNodeLike

Interface: AudioDestinationNodeLike ​

Defined in: types.ts:199

The destination surface the engine reads (and enableMultichannel() writes). All members are optional because fakes and exotic contexts may not have them; a plain stereo destination is assumed when absent.

Extends ​

  • AudioNodeLike

Properties ​

channelCount? ​

optional channelCount?: number

Defined in: types.ts:201

Optional channel configuration, set by createMonoFold(); a real AudioNode has these.

Overrides ​

AudioNodeLike.channelCount


channelCountMode? ​

optional channelCountMode?: string

Defined in: types.ts:190

Inherited from ​

AudioNodeLike.channelCountMode


channelInterpretation? ​

optional channelInterpretation?: string

Defined in: types.ts:202

Overrides ​

AudioNodeLike.channelInterpretation


maxChannelCount? ​

optional maxChannelCount?: number

Defined in: types.ts:200

Methods ​

connect() ​

connect(destination, output?, input?): void

Defined in: types.ts:185

A destination may be another node (audio-rate signal) or a param (e.g. the phaser LFO -> each stage's frequency).

Parameters ​

destination ​

AudioParamLike | AudioNodeLike

output? ​

number

input? ​

number

Returns ​

void

Inherited from ​

AudioNodeLike.connect


disconnect()? ​

optional disconnect(): void

Defined in: types.ts:187

Optional: a real AudioNode has it; the engine never needs it, but consumers' output nodes may use it.

Returns ​

void

Inherited from ​

AudioNodeLike.disconnect