]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/musedata2ly.py
* lily/piano-pedal-engraver.cc (finalize): attach unfinished
[lilypond.git] / scripts / musedata2ly.py
index 586dd26a4fd85aca749d89e2a201e9ecd29e4217..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
 
@@ -526,7 +526,7 @@ class Parser:
 
 def help ():
        sys.stdout.write (
-"""Usage: musedata2ly [OPTION]... FILE1 [FILE2 ...]
+"""Usage: musedata2ly [OPTIONS]... FILE1 [FILE2 ...]
 
 Convert musedata to LilyPond.
 
@@ -541,13 +541,14 @@ classical music scores, currently comprising XXX scores.  The music is
 encoded in so-called Musedata format
 (http://www.ccarh.org/publications/books/beyondmidi/online/musedata).
 musedata2ly converts a set of musedata files to one .ly file, and will
-include a \header field if a .ref file is supplied 
+include a \header field if a .ref file is supplied.
 
 This converter is not complete -- this is left to the user as an excercise.
 
 Report bugs to bug-lilypond@gnu.org.
 
-Written by Han-Wen Nienhuys <hanwen@cs.uu.nl>
+Written by Han-Wen Nienhuys <hanwen@cs.uu.nl>.
+
 """)
 
 
@@ -558,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))
@@ -617,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: