From: Paul Brossier Date: Sun, 29 May 2005 01:21:43 +0000 (+0000) Subject: fixed precision to ms in aubiodiffs-onset X-Git-Tag: 0.4.0-beta1~1423 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=588a09fa4d36af3351c7cea81922379b904a4a34;p=aubio.git fixed precision to ms in aubiodiffs-onset --- diff --git a/python/aubiodiffs-onset b/python/aubiodiffs-onset index f47ddd02..67e2f59c 100755 --- 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)