WLJS LogoWLJS Notebook

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

Get the number of audio channels:

audio = ExampleData[{"Audio", "Bird"}];
AudioChannels[audio]
(* 1 *)

Please visit the official Wolfram Language Reference for more details.

On this page