Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

AudioChannelMix

AudioChannelMix[audio]
mixes channels of audio by averaging, and returns a center-panned stereo audio.

AudioChannelMix[audio,desttype]
mixes audio channels into the specified desttype.

DetailsDetails

  • The following destination type desttype can be specified for an m channel audio:
  • "Mono"mono audio, using the average channel value
    {"Mono",{w1,,wm}}mono audio, using a weighted average
    "Stereo"stereo audio, using the average value and center panning
    {"Stereo",{w1,,wm}}stereo audio, using weighted average and center panning
    {"Stereo",{w1,,wm},{p1,,pm}}stereo audio, using weighted average and specified panning
    nn-channel audio, evenly distributing the m input channels
    {n,mat}n-channel audio, using an arbitrary m×n distribution matrix mat
  • In the distribution matrix mat, the element wij is the amount of input channel i that goes into the output channel j.
  • The given weights wi can be given as scalar multipliers or in decibels.
  • A scalar multiplier wi is equivalent to in decibels.
  • For "Stereo" mixing, sinusoidal panning is used.
  • The AudioType of the returned object is either "Real32" or "Real".
Introduced in 2016
(11.0)