https://github.com/DarkenedFlames/gmgcode
Welcome to the documentation for the Python package gmgcode
, a project aimed at providing useful tools in the context of music theory and pitch-set theory.
This framework facilitates the computation of numerous properties of a pitch-class set, including a convenient PCSet
class, explorative tools, and analysis of pitch-class set symmetry under group action.
This documentation is part of a larger guide on music theory. If you have not already, be sure to check out Greg’s Musical Guides.
These may be installed easily by running the following command in the parent directory where gmgcode
is installed: pip install -r gmgcode/requirements.txt
.
PCSet
Housed in gmgcode.pcs_object
, the PCSet
object class is the primary component of gmgcode
. This class embodies a pitch-class set, centralizing set operations, transformations, and property computation.
PCSet
provides a myriad of methods for computing pitch set transformations, and intervallic and geometric properties.