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