]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/musedata2ly.py
2003 -> 2004
[lilypond.git] / scripts / musedata2ly.py
index dd6eaabdb569a8d6492b10eba293256cec803372..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,14 +526,14 @@ class Parser:
 
 def help ():
        sys.stdout.write (
-"""Usage: musedata2ly [OPTION]... FILE1 [FILE2 ...]
+"""Usage: musedata2ly [OPTIONS]... FILE1 [FILE2 ...]
 
 Convert musedata to LilyPond.
 
 Options:
-  -h,--help          this help
+  -h,--help          print this help
   -o,--output=FILE   set output filename to FILE
-  -v,--version       version information
+  -v,--version       show version information
   -r,--ref=REF       read background information from ref-file REF     
 
 Musedata (http://www.ccarh.org/musedata/) is an electronic library of
@@ -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--2002 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: