ChannelMergerNode

« Web Audio API

This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for the proper prefixes to use in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the spec changes.

The ChannelMergerNode interface, often used in conjunction with its opposite, ChannelSplitterNode, reunites different mono input in a single outputs. Each input will be used to fill a channel of the output. This is useful for accessing each channels separately, e.g. for performing channel mixing where gain must be separately controlled on each channel.

If ChannelMergerNode has one single output, but as many input as channels to merge; the amount of inputs is defined as a parameter of its constructor and the call to AudioContext.createChannelMerger(). In case no value is given, it default to 6.

Using this object, it is possible to create outputs with more channels than the rendering hardware is able to process. In that case, when the signal is sent to the AudioContext.listener object, supernumerary channels will be ignored.

  • Number of inputs variable; default to 6.
  • Number of outputs 1
  • 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, AudioNode.

Methods

No specific method; inherits methods from its parent, AudioNode.

Examples

 

Specifications

Specification Status Comment
Web Audio API Working Draft  

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support (Yes)webkit Activated on Nightly only Not supported Not supported ?
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support ? Activated on Nightly only Not supported Not supported ?

See also

  • Using Web Audio

Attachments

File Size Date Attached by
Action of a ChannelMergerNode
10254 bytes 2013-05-08 02:40:08 teoli

Document Tags and Contributors

Contributors to this page: Sheppy, tregagnon, teoli
Last updated by: tregagnon,