Return soundfile channel information.
nchans = filechans(“filename”)
filechans simply returns the number of channels of the soundfile filename. filename may be an absolute or relative pathname to the soundfile. This command does not require that the soundfile be previously opened by the rtinput command.
nchannels = filechans("somesoundfile")