You need to install the following python packages (using pip for instance)
pip install mido unidecode numpy fastdtw scipy
unidecodecsv (python setup.py)
GCC
The automatic alignement function is coded in C and need to be compiled using the following commands :
cd LOP_database/utils/Needleman/
python setup.py build
The a .so file is created in build/"some-path"/needleman_chord.so Copy it to the utils folder :
cp LOP_database/utils/Needleman/build/"some-path"/needleman_chord.so LOP_database/utils/
Simply add the repository to your Python path :
export PYTHONPATH=$PYTHONPATH:/path/to/downloaded_git_repo
It can be added either temporarilly by taping this command in a terminal or permanently by copying it to your ~/.bashprofile file
Once the repository is added to your python path, all its function will be accessible through the LOP_database package.
The main.py file at the root of the LOP_database folder allow you to take a database with the same structure as the LOP database one, and produce a version of this database containing automatically aligned midi files