#
# source file of the GNU LilyPond music typesetter
#
-# (c) 1998--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+# (c) 1998--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
# Jan Nieuwenhuizen <janneke@gnu.org>
def warranty ():
identify ()
sys.stdout.write ('\n')
- sys.stdout.write (_ ('Copyright (c) %s by') % ' 2001--2004')
+ sys.stdout.write (_ ('Copyright (c) %s by') % ' 2001--2005')
sys.stdout.write ('\n')
sys.stdout.write (' Han-Wen Nienhuys')
sys.stdout.write (' Jan Nieuwenhuizen')
if item and item.__class__ == Note:
skip = 's'
- s = s + '%s = \\notes' % (track + channel)
+ s = s + '%s = ' % (track + channel)
if not absolute_p:
s = s + '\\relative c '
elif item and item.__class__ == Text:
skip = '" "'
- s = s + '%s = \\lyrics ' % (track + channel)
+ s = s + '%s = \\lyricmode ' % (track + channel)
else:
skip = '\\skip '
- # must be in \notes mode for parsing \skip
- s = s + '%s = \\notes ' % (track + channel)
+ s = s + '%s = ' % (track + channel)
s = s + '{\n'
s = s + ' ' + dump_channel (channels[i][0], skip)
s = s + '}\n\n'
tag = '%% Lily was here -- automatically converted by %s from %s' % ( program_name, f)
+
s = ''
- s = tag + '\n\n'
+ s = tag + '\n\\version "2.3.25"\n\n'
for i in range (len (tracks)):
s = s + dump_track (tracks[i], i)
for f in files:
-
g = f
g = strip_extension (g, '.midi')
g = strip_extension (g, '.mid')