sys.path.append (os.path.join (datadir, 'python'))
sys.path.append (os.path.join (datadir, 'python/out'))
-program_name = 'mup2ly'
+program_name = sys.argv[0]
program_version = '@TOPLEVEL_VERSION@'
original_dir = os.getcwd ()
temp_dir = os.path.join (original_dir, '%s.dir' % program_name)
str = str + ln
id = self.idstring ()
- str = '''%s = \\context Voice = %s \\notes {
+ str = '''%s = \\context Voice = %s {
%s
}
if self.sharps and self.flats:
k = '\\keysignature %s ' % 'TODO'
elif self.sharps:
- k = '\\notes\\key %s \major' % key_sharps[self.sharps]
+ k = '\\key %s \major' % key_sharps[self.sharps]
elif self.flats:
- k = '\\notes\\key %s \major' % key_flats[self.flats]
+ k = '\\key %s \major' % key_flats[self.flats]
return k
class Time:
\score {
<<%s
>>
- \paper {}
+ \layout {}
\midi {}
}
''' % refs
files = ['-']
for f in files:
-
+ h = None
if f == '-':
h = sys.stdin
elif f and not os.path.isfile (f):