AudioGraphBuilder.split() method

Convenience: split a channels-wide input into that many mono streams (one channelSelect per channel). Returns the handles in channel order. The wire graph is identical to writing the selects by hand — the source runs once and each select extracts only its own channel.

Signature:

split(input: AudioNode, channels: number): AudioNode[];

Parameters

Parameter Type Description

input

AudioNode

channels

number

Returns: