Skip to content

Instantly share code, notes, and snippets.

@gu-ma
gu-ma / parse.py
Last active March 7, 2017 22:08
Parse MIDI files, convert them to ABC, and split instruments into different files
import os
import sys
import subprocess
# from collections import Counter
# import re
# Variables
walk_dir = sys.argv[1]
out_dir = sys.argv[2]
set_name = sys.argv[3]