updated to Version 1.3 Rhythm API

re-forked from Reid's code
includes the bandpass filer and real time thresholding