Query MIDI datasets for matching key, time signature & chord progression
cd midi_query
(go into the root of the repo) than run:
python setup.py install
cd midi_query
(go into the root of the repo) than run:
python -m unittest discover -s tests -t midi_query
Add your dataset of .mid or .midi files to the midi_query/datasets
directory. Nested directories are supported.
cd midi_query
(go into the root of the repo) than run:
python midi_query/query.py --chords 'Cmaj7,Emin7,Dmin7,Cmaj7' --key 'c'
Find your results in the midi_query/output directory.