an open-source digital signal processing and sound synthesis language
about · links · contact
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