Return input soundfile channel information.
nchans = CHANS()
CHANS returns the number of channels in an input file or audio stream opened by a previous rtinput command.
rtinput("somesoundfile")
val = CHANS()
DUR, PEAK, SR, filechans, filedur, filepeak, filesr, rtinput