output
This commit is contained in:
parent
045d6b8758
commit
4fd7f15a97
1 changed files with 1 additions and 4 deletions
|
@ -122,10 +122,7 @@ if __name__ == '__main__':
|
||||||
seq = random(n)
|
seq = random(n)
|
||||||
duration = float(sys.argv[2]) + 10
|
duration = float(sys.argv[2]) + 10
|
||||||
tracks = int(sys.argv[3])
|
tracks = int(sys.argv[3])
|
||||||
if len(sys.argv) > 1:
|
output = sys.argv[4]
|
||||||
tracks = int(sys.argv[1])
|
|
||||||
else:
|
|
||||||
tracks = 42
|
|
||||||
data = get_gongs(seq, {}, duration, tracks)
|
data = get_gongs(seq, {}, duration, tracks)
|
||||||
mix_gongs(data, output)
|
mix_gongs(data, output)
|
||||||
with open(output + '.json', 'w') as fd:
|
with open(output + '.json', 'w') as fd:
|
||||||
|
|
Loading…
Reference in a new issue