ref: 6b0ca87f82b439d4a4c37616731d995c726cd1f7
parent: 1e7ef7c096c79a54c7ed796bfb74d9eaf1490196
author: Paul Brossier <piem@altern.org>
date: Fri Jun 2 13:11:24 EDT 2006
task beat() output seconds task beat() output seconds
--- a/python/aubio/task/beat.py
+++ b/python/aubio/task/beat.py
@@ -39,7 +39,7 @@
now = self.frameread-0
period = (60 * self.params.samplerate) / ((now - self.old) * self.params.hopsize)
self.old = now
- return now*self.params.step,period
+ return now*self.btstep*self.params.step,period
def eval(self,results,tol=0.20,tolcontext=0.25):
obeats = self.gettruth()