projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e7ef7c
)
task beat() output seconds
author
Paul Brossier
<piem@altern.org>
Fri, 2 Jun 2006 17:11:24 +0000
(17:11 +0000)
committer
Paul Brossier
<piem@altern.org>
Fri, 2 Jun 2006 17:11:24 +0000
(17:11 +0000)
task beat() output seconds
python/aubio/task/beat.py
patch
|
blob
|
history
diff --git
a/python/aubio/task/beat.py
b/python/aubio/task/beat.py
index 1c77983478d110b5b28cbcee1b6bb550789d77d8..cfd329aef0fd76229a89e04b41fe8fa34723b442 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.params.step,period
+ return now*self.
btstep*self.
params.step,period
def eval(self,results,tol=0.20,tolcontext=0.25):
obeats = self.gettruth()