AudioBufferChannelRouter Op
Route audio from one input channel to any output channel
Summary (oneliner)
<p>Routes audio input channels to different output channels by modifying the audiobuffer accordingly.</p> <p>Uses <a href="https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/copyToChannel">copyToChannel</a> to copy/move data from one channel to another.</p> <p>Output channel number can be an offset. This will, for example, move both stereo channels to output channel 3 and 4 if set to 2. </p> <p>Channel numbers are zero-based, ususal order is L, R, SL, SR, C, LFE, ... check your soundcard settings to see how hardware-outputs are mapped to channels.</p>
- Ops.WebAudio.AudioBufferChannelRouter
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
INPUT PORTS
<i>integer</i>
)<p>zero-based input chanel to route</p>
<i>integer</i>
)<p>zero-based target output channel</p>
Mode
<i>boolean</i>
)<p>fill all other channels with empty data/silence</p>
<i>boolean</i>
)<p>offset input signal by x channels and keep all input channels</p>
OUTPUT PORTS
<p>maximum number of output channels supported by the soundcard</p>