From: Paul Brossier Date: Fri, 29 Sep 2006 12:16:50 +0000 (+0000) Subject: fix beat task output X-Git-Tag: bzr2git~564 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b9f5dbf637498c6bf8061d3a214f58131013f0fd;p=aubio.git fix beat task output fix beat task output --- diff --git a/python/aubio/task/beat.py b/python/aubio/task/beat.py index f79cc8e6..cc252504 100644 --- a/python/aubio/task/beat.py +++ b/python/aubio/task/beat.py @@ -39,7 +39,7 @@ class taskbeat(taskonset): now = self.frameread-0 period = (60 * self.params.samplerate) / ((now - self.old) * self.params.hopsize) self.old = now - return now*self.btstep*self.params.step,period + return now,period def eval(self,results,tol=0.20,tolcontext=0.25): obeats = self.gettruth()