]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/musedata2ly.py
(process): only process if moment >= 0.
[lilypond.git] / scripts / musedata2ly.py
index cd750857a1c43bf80dea23b83ec33519560014b1..f34ee7aaabef73915dbb55b3c95e84751d74833a 100644 (file)
@@ -232,11 +232,11 @@ class Chord:
                        str = str + pitch_to_lily_string (p) 
                
                if len (self.pitches) > 1:
-                       str = '<<%s>>' % str
+                       str = '<%s>' % str
                elif len (self.pitches) == 0:
                        str = 'r'
 
-               str = str + sd + '-(' * len (self.slurstart) + '-)' * len (self.slurstart) 
+               str = str + sd + '(' * len (self.slurstart) + ')' * len (self.slurstart) 
                for s in self.scripts:
                        str = str + '-' + s
 
@@ -559,7 +559,7 @@ This is free software.  It is covered by the GNU General Public License,
 and you are welcome to change it and/or distribute copies of it under
 certain conditions.  Invoke as `midi2ly --warranty' for more information.
 
-Copyright (c)  2000--2003 by Han-Wen Nienhuys <hanwen@cs.uu.nl>.
+Copyright (c) 2000--2004 by Han-Wen Nienhuys <hanwen@cs.uu.nl>.
 """ % version)
 def identify():
        sys.stderr.write ("%s from LilyPond %s\n" % (program_name, version))
@@ -618,7 +618,7 @@ for f in files:
 
        found_ids = found_ids + '\\%s\n' % id
 
-found_ids = '\n\n\n\\score { < %s > } ' % found_ids 
+found_ids = '\n\n\n\\score { << %s >> } ' % found_ids 
 
 ly_head = ''
 if ref_file: