Set Number of Channels
Description
Can be optionally used to set the current number of channels to use, overriding the automatic calculation based derived from the channel arguments used with the point outputs.
(set-number-of-channels ... )
Syntax and Default Values
The (set-number-of-channels ... ) function can be created using the following Lisp syntax:
(set-number-of-channels value)
Parameters
The (set-number-of-channels ... ) function takes one argument:
- value: number of audio output channels.
You can set any number of channels you like. The default is 1 channel. If you use more than two channels, you may not be able to play the sound.
Discussion
Manually setting the number of output channels is optional. Modalys will automatically determine the number of output channels based on the channel arguments provided to the Point Output functions that are used in the script. (The make-point-output command additionally has optional arguments to set which channel to direct the output to.)
Options
There are no special options for this function.