#!@PYTHON@
-
+# -*- coding: utf-8 -*-
# once upon a rainy monday afternoon.
#
# ...
s = s[4:]
state.base_octave = -2
voices_append ("\\clef bass\n" )
- return s
+ return s
def select_voice (name, rol):
if not voice_idx_dict.has_key (name):
ks.sort ()
for k in ks:
if re.match('[1-9]', k):
- m = chr(string.atoi(k) + 'A')
+ m = alphabet(string.atoi(k))
else:
m = k
for i in range (len(slyrics[voice_idx_dict[k]])):
ks.sort ()
for k in ks:
if re.match ('[1-9]', k):
- m = chr(string.atoi(k) + 'A')
+ m = alphabet(string.atoi(k))
else:
m = k
outf.write ("\nvoice%s = {" % m)
outf.write ("\n >>")
outf.write ("\n\t\\layout {\n")
- if part_names:
- outf.write ("\t \\translator \n\t {\n")
- outf.write ("\t\t\\StaffContext\n")
-# outf.write ("\t\t\\consists Staff_margin_engraver\n")
- outf.write ("\t }\n")
outf.write ("\t}\n\t\\midi {%s}\n}\n" % midi_specs)
if header.has_key('title'):
if a:
if len(header['title']):
- header['title'] = header['title'] + '\\\\\\\\' + a
+ # the non-ascii character
+ # in the string below is a
+ # punctuation dash. (TeX ---)
+ header['title'] = header['title'] + ' — ' + a
else:
header['subtitle'] = a
else:
ch = ''
if str[:1] ==']':
str = str[1:]
- ch = '>'
+ ch = '>>'
end = 0
while str[:1] ==')':
sys.stderr.write ('lilypond output to: `%s\'...' % out_filename)
outf = open (out_filename, 'w')
- outf.write ('\\version "2.3.25"\n')
+# don't substitute @VERSION@. We want this to reflect
+# the last version that was verified to work.
+ outf.write ('\\version "2.5.20"\n')
# dump_global (outf)
dump_header (outf, header)