- Create a python virtual environment and run
pip install -r req.txt
. - Run
main.py
or enterflask run
(have to setFLASK_APP=main.py
) from your virtual environment console.
fetch_midis.py
for fetching MIDIs from MuseScore database. (We do NOT condone piracy; this is for educational purpose only.)dict_dataset.py
for storing dictionary of MIDI files.tempo_check.py
for calculating average tempo for each genre.model_training.py
for training our LSTM model.gen.py
for generating the desired MIDI output file(s).