shithub: aubio

Download patch

ref: b9f5dbf637498c6bf8061d3a214f58131013f0fd
parent: 9c3b696dc4f2dbe9540a8630758b015f3c4da52d
author: Paul Brossier <piem@altern.org>
date: Fri Sep 29 08:16:50 EDT 2006

fix beat task output
fix beat task output


--- 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.btstep*self.params.step,period
+				return now,period
 
 	def eval(self,results,tol=0.20,tolcontext=0.25):
 		obeats = self.gettruth()