fix beat task output
authorPaul Brossier <piem@altern.org>
Fri, 29 Sep 2006 12:16:50 +0000 (12:16 +0000)
committerPaul Brossier <piem@altern.org>
Fri, 29 Sep 2006 12:16:50 +0000 (12:16 +0000)
fix beat task output

python/aubio/task/beat.py

index f79cc8e6eab9dc79d362972b0fea0db5fad05084..cc252504117e45e3064dadb3ef6b233013cf00a8 100644 (file)
@@ -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()