From: Jan Nieuwenhuizen Date: Mon, 21 Feb 2011 13:49:04 +0000 (+0100) Subject: Midi2ly: remove experimental code. X-Git-Tag: release/2.13.51-1~9 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=7bb304912f9b9752591abc4216d764a99012b90a;p=lilypond.git Midi2ly: remove experimental code. --- diff --git a/scripts/midi2ly.py b/scripts/midi2ly.py index e5cb88e826..b233d98a75 100644 --- a/scripts/midi2ly.py +++ b/scripts/midi2ly.py @@ -760,6 +760,7 @@ def dump_track (track, n): v = 0 for voice in channel: voice_name = get_voice_name (v) + v += 1 voice_id = track_name + channel_name + voice_name item = voice_first_item (voice) @@ -775,11 +776,8 @@ def dump_track (track, n): skip = '\\skip ' s += '%(voice_id)s = ' % locals () s += '{\n' - if len (channel) > 1 and v < 4: - s += '\\voice' + ['One', 'Two', 'Three', 'Four'][v] s += ' ' + dump_voice (voice, skip) s += '}\n\n' - v += 1 s += '%(track_name)s = <<\n' % locals ()