Table of Contents

Class ChannelSplitterNode

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The ChannelSplitterNode interface, often used in conjunction with its opposite, ChannelMergerNode, separates the different channels of an audio source into a set of mono outputs. This is useful for accessing each channel separately, e.g., for performing channel mixing where gain must be separately controlled on each channel.

[Value("ChannelSplitterNode")]
public class ChannelSplitterNode : AudioNode
Inheritance
ChannelSplitterNode
Inherited Members

Remarks

Default channel splitter node with a single input splitting to form 6 mono outputs.

If your ChannelSplitterNode always has one single input, the amount of outputs is defined by a parameter on its constructor and the call to BaseAudioContextcreateChannelSplitter. In the case that no value is given, it will default to 6. If there are fewer channels in the input than there are outputs, supernumerary outputs are silent.

-Using the Web Audio API

See also on MDN

Constructors

ChannelSplitterNode()

public ChannelSplitterNode()

ChannelSplitterNode(BaseAudioContext, ChannelSplitterOptions)

The ChannelSplitterNode() constructor of the Web Audio API creates a new ChannelSplitterNode object instance, representing a node that splits the input into a separate output for each of the source node's audio channels.

public ChannelSplitterNode(BaseAudioContext context, ChannelSplitterOptions options = null)

Parameters

context BaseAudioContext
options ChannelSplitterOptions

Remarks