NAME

filechans - return soundfile channel information


SYNOPSIS

nchans = filechans("filename")


DESCRIPTION

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.


ARGUMENTS
"filename"
A string representing the name of the soundfile to be queried. It may be an absolute or relative pathname to the soundfile. If it is relative, then it will be relative to the directory where the CMIX command was invoked.


EXAMPLES
   nchannels = filechans("somesoundfile")

SEE ALSO

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