projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e83a11e
)
fixed precision to ms in aubiodiffs-onset
author
Paul Brossier
<piem@altern.org>
Sun, 29 May 2005 01:21:43 +0000
(
01:21
+0000)
committer
Paul Brossier
<piem@altern.org>
Sun, 29 May 2005 01:21:43 +0000
(
01:21
+0000)
python/aubiodiffs-onset
patch
|
blob
|
history
diff --git
a/python/aubiodiffs-onset
b/python/aubiodiffs-onset
index
f47ddd0
..
67e2f59
100755
(executable)
--- a/
python/aubiodiffs-onset
+++ b/
python/aubiodiffs-onset
@@
-87,5
+87,6
@@
if delay:
lres[i] = lres[i] + delay
# compute errors types
l = onset_diffs(ltru,lres,tol)
-for i in l: print i
+# print with 1ms precision
+for i in l: print "%.3f" % float(i)