else:
chs[0].append (e)
- for i in range (16):
- if chs[i] == []:
- del chs[i]
-
threads = []
+ i = 0
for v in chs.values ():
+ i += 1
+ if not v:
+ continue
+ debug ('channel: %d\n' % i)
events = events_on_channel (v)
t = unthread_notes (events)
if len (t):
events = []
last_lyric = 0
last_time = 0
- debug ('\n\nchannel\n')
for e in channel:
t = e[0]
opt_parser = get_option_parser ()
(options, args) = opt_parser.parse_args ()
+ if options.warranty:
+ warranty ()
+ sys.exit (0)
+
if not args or args[0] == '-':
opt_parser.print_help ()
ly.stderr_write ('\n%s: %s %s\n' % (program_name, _ ('error: '),
if options.duration_quant:
options.duration_quant = int (options.duration_quant)
- if options.warranty:
- warranty ()
- sys.exit (0)
if options.key:
(alterations, minor) = map (int, (options.key + ':0').split (':'))[0:2]
sharps = 0