projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c3b696
)
fix beat task output
author
Paul Brossier
<piem@altern.org>
Fri, 29 Sep 2006 12:16:50 +0000
(12:16 +0000)
committer
Paul Brossier
<piem@altern.org>
Fri, 29 Sep 2006 12:16:50 +0000
(12:16 +0000)
fix beat task output
python/aubio/task/beat.py
patch
|
blob
|
history
diff --git
a/python/aubio/task/beat.py
b/python/aubio/task/beat.py
index f79cc8e6eab9dc79d362972b0fea0db5fad05084..cc252504117e45e3064dadb3ef6b233013cf00a8 100644
(file)
--- 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()