The main code is RNN.py : run it with python RNN.py [-i <dataDirectory>] [-o <modelSaveName>]
The default data's directory is MIDI/test
The whole code is in python3
- mido_encodage.py is the code for turning MIDIs into lists of message using MIDO
- preprocess.py is the code for doing all the pre-processing of all MIDI files in a directory