@ -2,3 +2,4 @@ images/**
output/**
src/index.json
.DS_Store
src/**.wav
@ -77,6 +77,7 @@ def eval(cmds):
print('\n'.join(pattern))
elif cmd[0] == 'save':
pattern = text[0:line_number + 1]
pattern_file = open('output/patternfile.txt', 'w')
pattern_file.write('\n'.join(pattern))
pattern_file.close()