MultichannelAudio
Creates a multichannel sound by combining several single-channel sound objects.
Syntax
-
MultichannelAudio(s1, s2)
-
s1
ands2
are sounds
-
-
MultichannelAudio(S, m)
-
S
is a list of sounds -
m
is 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)