10.5281/zenodo.1857913
https://zenodo.org/records/1857913
oai:zenodo.org:1857913
Popoff, Alexandre
Alexandre
Popoff
Independent Researcher
Opycleid: A Python package for transformational music theory
Zenodo
2018
music
music theory
category theory
algebraic structures
mathematics
chords
python
2018-12-02
eng
10.5281/zenodo.1857616
0.2.6
Creative Commons Attribution 4.0 International
Opycleid is a Python library for transformational music analysis (TMT), a field of musicology which studies transformations between musical objects (notes, chords, durations, etc.) from a mathematical point of view. This field was initiated by David Lewin in the 1980s, relying mainly on mathematical group theory, and later developed and extended using elements of category theory. The API for Opycleid was designed in order to take a very general approach to TMT by considering category actions in Rel, i.e. faithful functors from a small category to the 2-category Rel of finite sets and relations between them. At the same time, Opycleid provides ready-to-use classes for the common groups and monoids encountered in TMT (such as the T/I group or the PRL group usually found in neo-Riemannian theory), allowing the analysis of chords with just a few Python lines of code.