CHANS

Return input soundfile channel information.


Synopsis

nchans = CHANS()


Description

CHANS returns the number of channels in an input file or audio stream opened by a previous rtinput command.


Examples

   rtinput("somesoundfile")
   val = CHANS()

See Also

DUR, PEAK, SR, filechans, filedur, filepeak, filesr, rtinput