AudioChannelMix
✖
AudioChannelMix

mixes channels of audio by averaging and returns a center-panned stereo audio object.
Details

- The following destination type desttype can be specified for an m channel audio object:
-
"Mono" mono signal, using the average channel value {"Mono",{w1,…,wm}} mono signal, using a weighted average "Stereo" stereo signal, using the average value and center panning {"Stereo",{w1,…,wm}} stereo signal, using weighted average and center panning {"Stereo",{w1,…,wm},{p1,…,pm}} stereo signal, using weighted average and specified panning n n-channel signal, evenly distributing the m input channels {n,mat} n-channel signal, 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".
Examples
open allclose allBasic Examples (1)Summary of the most common use cases
Scope (5)Survey of the scope of standard use cases
When downmixing to mono, the average of all input channels is used by default:

https://wolfram.com/xid/0bc6k05vux36hgw-4a2cli

https://wolfram.com/xid/0bc6k05vux36hgw-dpvymx

Specify the weights assigned to the input channels:

https://wolfram.com/xid/0bc6k05vux36hgw-slyxue

When mixing to stereo, the average of all input channels is replicated on both output channels by default:

https://wolfram.com/xid/0bc6k05vux36hgw-84wdvl

Use different weights for each input channel:

https://wolfram.com/xid/0bc6k05vux36hgw-hm3vwk

By default, all input channels are center panned. Specify the amount of panning for each input channel:

https://wolfram.com/xid/0bc6k05vux36hgw-rpapqf

Create a three-channel signal by evenly mixing all input channels:

https://wolfram.com/xid/0bc6k05vux36hgw-0hgv6g

https://wolfram.com/xid/0bc6k05vux36hgw-c9d0nv

Specify all weights using a distribution matrix:

https://wolfram.com/xid/0bc6k05vux36hgw-hhaawy


https://wolfram.com/xid/0bc6k05vux36hgw-uiohph

Process the audio track of a video:

https://wolfram.com/xid/0bc6k05vux36hgw-l7x9gq

Applications (2)Sample problems that can be solved with this function
Conform the number of channels of a list of audio objects without using padding:

https://wolfram.com/xid/0bc6k05vux36hgw-tmyo4a

https://wolfram.com/xid/0bc6k05vux36hgw-zyc4z1


https://wolfram.com/xid/0bc6k05vux36hgw-6v5xa6


https://wolfram.com/xid/0bc6k05vux36hgw-5yqt0

Distribute a mono Audio object to an arbitrary number of output channels:

https://wolfram.com/xid/0bc6k05vux36hgw-bqegyj

https://wolfram.com/xid/0bc6k05vux36hgw-850toc

Properties & Relations (4)Properties of the function, and connections to other functions
Downmix a signal to a single channel using audio arithmetics:

https://wolfram.com/xid/0bc6k05vux36hgw-enrtiz

https://wolfram.com/xid/0bc6k05vux36hgw-m7utm9

If no weights are specified, the average of the input channels is replicated on all output channels:

https://wolfram.com/xid/0bc6k05vux36hgw-zrlfdx

https://wolfram.com/xid/0bc6k05vux36hgw-c0ivvq

Relation with Dot:

https://wolfram.com/xid/0bc6k05vux36hgw-3592ku

https://wolfram.com/xid/0bc6k05vux36hgw-3l6tx1

If the destination is "Stereo", the panning specification is equivalent to an AudioPan operation:

https://wolfram.com/xid/0bc6k05vux36hgw-828ukx

https://wolfram.com/xid/0bc6k05vux36hgw-xzlk8q

Wolfram Research (2016), AudioChannelMix, Wolfram Language function, https://reference.wolfram.com/language/ref/AudioChannelMix.html (updated 2024).
Text
Wolfram Research (2016), AudioChannelMix, Wolfram Language function, https://reference.wolfram.com/language/ref/AudioChannelMix.html (updated 2024).
Wolfram Research (2016), AudioChannelMix, Wolfram Language function, https://reference.wolfram.com/language/ref/AudioChannelMix.html (updated 2024).
CMS
Wolfram Language. 2016. "AudioChannelMix." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2024. https://reference.wolfram.com/language/ref/AudioChannelMix.html.
Wolfram Language. 2016. "AudioChannelMix." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2024. https://reference.wolfram.com/language/ref/AudioChannelMix.html.
APA
Wolfram Language. (2016). AudioChannelMix. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AudioChannelMix.html
Wolfram Language. (2016). AudioChannelMix. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AudioChannelMix.html
BibTeX
@misc{reference.wolfram_2025_audiochannelmix, author="Wolfram Research", title="{AudioChannelMix}", year="2024", howpublished="\url{https://reference.wolfram.com/language/ref/AudioChannelMix.html}", note=[Accessed: 09-July-2025
]}
BibLaTeX
@online{reference.wolfram_2025_audiochannelmix, organization={Wolfram Research}, title={AudioChannelMix}, year={2024}, url={https://reference.wolfram.com/language/ref/AudioChannelMix.html}, note=[Accessed: 09-July-2025
]}