]> git.donarmstrong.com Git - lilypond.git/commitdiff
tune down time factor for output distance further
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 24 Jan 2007 02:01:09 +0000 (03:01 +0100)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 24 Jan 2007 02:01:09 +0000 (03:01 +0100)
buildscripts/output-distance.py

index e56b1e477de1e044df67092e2269aa19428aabd5..ebc8395f6253c591c10bfc4eabfa327a252f8ead 100644 (file)
@@ -508,12 +508,12 @@ class ProfileFileLink (FileCompareLink):
                     note_info, self.contents[oldnew])
 
         dist = 0.0
-        factor = {'time': 2.0 ,
+        factor = {'time': 1.0 ,
                   'cells': 5.0,
                   }
         
         for k in ('time', 'cells'):
-            real_val = math.tan (self.get_ratio (k) * 0.5* math.pi)
+            real_val = math.tan (self.get_ratio (k) * 0.5 * math.pi)
             dist += math.exp (math.fabs (real_val) * factor[k])  - 1
 
         dist = min (dist, 100)