AudioChannels[audio]
returns the number of channels in the Audio object audio.
AudioChannels[video]
returns the number of channels of the first audio track of video.
AudioChannels
AudioChannels[audio]
returns the number of channels in the Audio object audio.
AudioChannels[video]
returns the number of channels of the first audio track of video.
Examples
open all close allBasic Examples (3)
Channels of a mono audio object:
AudioChannels[\!\(\*AudioBox[""]\)]Channels of a stereo audio object:
AudioChannels[\!\(\*AudioBox[""]\)]Channels of the audio track in a video:
AudioChannels[\!\(\*VideoBox[""]\)]Scope (3)
Channels of a multichannel audio object:
AudioChannels[\!\(\*AudioBox[""]\)]The number of channels of a mono Sound object:
Sound[SampledSoundList[Table[Sin[2π 500 t], {t, 0, 1, 1. / 2000}], 2000]]AudioChannels[%]Channels of a stereo Sound object:
ExampleData[{"Sound", "Piano"}]AudioChannels[%]Sound objects with SoundNote are converted to stereo audio objects:
snd = Sound[Table[SoundNote[i, .5], {i, 3}]]AudioChannels[snd]Plot the waveform of the signal generated by sampling the notes:
AudioPlot[snd]Related Guides
Text
Wolfram Research (2016), AudioChannels, Wolfram Language function, https://reference.wolfram.com/language/ref/AudioChannels.html (updated 2021).
CMS
Wolfram Language. 2016. "AudioChannels." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2021. https://reference.wolfram.com/language/ref/AudioChannels.html.
APA
Wolfram Language. (2016). AudioChannels. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AudioChannels.html
BibTeX
@misc{reference.wolfram_2026_audiochannels, author="Wolfram Research", title="{AudioChannels}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/AudioChannels.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_audiochannels, organization={Wolfram Research}, title={AudioChannels}, year={2021}, url={https://reference.wolfram.com/language/ref/AudioChannels.html}, note=[Accessed: 12-June-2026]}