WOLFRAM

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.

Details

  • Number of channels in typical audio are:
  • mono audio1 channel
    stereo audio2 channels
    5.16 channels

Examples

open allclose all

Basic Examples  (3)Summary of the most common use cases

Channels of a mono audio object:

Out[2]=2

Channels of a stereo audio object:

Out[1]=1

Channels of the audio track in a video:

Out[1]=1

Scope  (3)Survey of the scope of standard use cases

Channels of a multichannel audio object:

Out[1]=1

The number of channels of a mono Sound object:

Out[1]=1
Out[2]=2

Channels of a stereo Sound object:

Out[3]=3
Out[4]=4

Sound objects with SoundNote are converted to stereo audio objects:

Out[1]=1
Out[2]=2

Plot the waveform of the signal generated by sampling the notes:

Out[3]=3
Wolfram Research (2016), AudioChannels, Wolfram Language function, https://reference.wolfram.com/language/ref/AudioChannels.html (updated 2021).
Wolfram Research (2016), AudioChannels, Wolfram Language function, https://reference.wolfram.com/language/ref/AudioChannels.html (updated 2021).

Text

Wolfram Research (2016), AudioChannels, Wolfram Language function, https://reference.wolfram.com/language/ref/AudioChannels.html (updated 2021).

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.

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

Wolfram Language. (2016). AudioChannels. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AudioChannels.html

BibTeX

@misc{reference.wolfram_2025_audiochannels, author="Wolfram Research", title="{AudioChannels}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/AudioChannels.html}", note=[Accessed: 25-March-2025 ]}

@misc{reference.wolfram_2025_audiochannels, author="Wolfram Research", title="{AudioChannels}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/AudioChannels.html}", note=[Accessed: 25-March-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_audiochannels, organization={Wolfram Research}, title={AudioChannels}, year={2021}, url={https://reference.wolfram.com/language/ref/AudioChannels.html}, note=[Accessed: 25-March-2025 ]}

@online{reference.wolfram_2025_audiochannels, organization={Wolfram Research}, title={AudioChannels}, year={2021}, url={https://reference.wolfram.com/language/ref/AudioChannels.html}, note=[Accessed: 25-March-2025 ]}