From 4fd7f15a972b05a4a06b0a8e54be113a67f2b189 Mon Sep 17 00:00:00 2001 From: j Date: Mon, 2 Oct 2017 13:42:56 +0200 Subject: [PATCH] output --- render_gongs.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/render_gongs.py b/render_gongs.py index 755e88e..56a391d 100755 --- a/render_gongs.py +++ b/render_gongs.py @@ -122,10 +122,7 @@ if __name__ == '__main__': seq = random(n) duration = float(sys.argv[2]) + 10 tracks = int(sys.argv[3]) - if len(sys.argv) > 1: - tracks = int(sys.argv[1]) - else: - tracks = 42 + output = sys.argv[4] data = get_gongs(seq, {}, duration, tracks) mix_gongs(data, output) with open(output + '.json', 'w') as fd: