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
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))
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: