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


Examples

   nchannels = filechans("somesoundfile")

See Also

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