MultichannelAudio
Creates a multichannel sound by combining several single-channel sound objects.
Syntax
-
MultichannelAudio(s1, s2)-
s1ands2are sounds
-
-
MultichannelAudio(S, m)-
Sis a list of sounds -
mis an integer
-
Description
If s1 and s2 are two single-channel sounds with the same bit depth, sample frequency, and duration, then MultichannelAudio(s1, s2) returns the stereo sound using s1 and s2 as its left and right channels, respectively.
If S is a non-empty list of single-channel sounds, all with the same bit depth, sample frequency, and duration, then MultichannelAudio(S, m) returns the #S-channel sound using S as its channel in configuration m.
Examples
l ≔ SineTone(100, 0.5, 1); h ≔ SineTone(400, 0.5, 1); MultichannelAudio(l, h)