Skip to content

A python implementation of Agustín Martorell & Emilia Gómez's Contextual Set-Class Analysis for MIDI data

License

Notifications You must be signed in to change notification settings

JamesOwers/midi-set-class

Repository files navigation

midi-set-class

This is a python implementation of the code from Agustín Martorell & Emilia Gómez's Contextual Set-Class Analysis for MIDI data.

Martorell A., Gómez E. (2016) Contextual Set-Class Analysis. In: Meredith D. (eds) Computational Music Analysis. Springer, Cham. https://doi.org/10.1007/978-3-319-25931-4_4

Their original MATLAB code is available here, along with other material: http://agustin-martorell.weebly.com/set-class-analysis.html

Setup

It is recommended you set up a virtual environment for python, then follow the install. For example:

conda create -n midi-set-class python=3.8
conda activate midi-set-class

Only tested using python 3.8.

Python install

path_to_repo=/path/to/midi-set-class
git clone https://github.com/JamesOwers/midi-set-class.git ${path_to_repo}
pip install ${path_to_repo}

Contributors

If you would like to contribute, please install in developer mode and use the dev option when installing the package. Additionally, please run pre-commit install to automatically run pre-commit hooks.

pip install -e ${path_to_repo}[dev]
pre-commit install

About

A python implementation of Agustín Martorell & Emilia Gómez's Contextual Set-Class Analysis for MIDI data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages