To Run > python3 -m virtualenv venv > source ./venv/bin/activate > pip install -r requirements.txt > python gen_file.py This will create a random type 0 midi file called random.mid