Skip to content

qsdfo/LOP_database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LOP_database

Installation

Dependencies

You need to install the following python packages (using pip for instance)

pip install mido unidecode numpy fastdtw scipy

unidecodecsv (python setup.py)

GCC

Automatic alignement function

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/

Add the library to the python path

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

Use

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published