From 6b0ca87f82b439d4a4c37616731d995c726cd1f7 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Fri, 2 Jun 2006 17:11:24 +0000 Subject: [PATCH] task beat() output seconds task beat() output seconds --- python/aubio/task/beat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/aubio/task/beat.py b/python/aubio/task/beat.py index 1c779834..cfd329ae 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.params.step,period + return now*self.btstep*self.params.step,period def eval(self,results,tol=0.20,tolcontext=0.25): obeats = self.gettruth() -- 2.26.2