ref: 588a09fa4d36af3351c7cea81922379b904a4a34
parent: e83a11effb91ee34c45b6f0bd2a758c3750780a8
author: Paul Brossier <piem@altern.org>
date: Sat May 28 21:21:43 EDT 2005
fixed precision to ms in aubiodiffs-onset
--- a/python/aubiodiffs-onset
+++ b/python/aubiodiffs-onset
@@ -87,5 +87,6 @@
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)