NAME

SR - return sampling rate information


SYNOPSIS

samprate = SR()


DESCRIPTION

SR returns the sampling rate of the most recently opened soundfile by the rtinput command, or the sampling rate of the input audio device.


EXAMPLES
   rtinput("somesoundfile")
   srate = SR()

SEE ALSO

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