{{WebAudioRef}}
The ChannelSplitterNode
interface, often used in conjunction with its opposite, {{domxref("ChannelMergerNode")}}, separates the different channels of an audio source into a set of mono outputs. This is useful for accessing each channels seperately, e.g. for performing channel mixing where gain must be separately controlled on each channel.
If ChannelSplitterNode
always has one single input, the amount of outputs is defined by a parameter on its constructor and the call to {{domxref("AudioContext.createChannelSplitter()")}}. In case no value is given, it default to 6
. If there are less channels in the input than outputs, supernumerary outputs are silent.
- Number of inputs
1
- Number of outputs variable; default to
6
. - Channel count mode
"max"
- Channel count
2
(not used in the default count mode) - Channel interpretation
"speakers"
Properties
No specific property; inherits properties from its parent, {{domxref("AudioNode")}}.
Methods
No specific method; inherits methods from its parent, {{domxref("AudioNode")}}.
Examples
Specifications
Specification | Status | Comment |
---|---|---|
{{SpecName('Web Audio API', '#ChannelSplitterNode', 'ChannelSplitterNode')}} | {{Spec2('Web Audio API')}} |
Browser compatibility
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | {{CompatVersionUnknown}}{{property_prefix("webkit")}} | Activated on Nightly only | {{CompatNo}} | {{CompatNo}} | {{CompatUnknown}} |
Feature | Android | Firefox Mobile (Gecko) | IE Phone | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | {{CompatUnknown}} | Activated on Nightly only | {{CompatNo}} | {{CompatNo}} | {{CompatUnknown}} |
See also
- Using Web Audi