pitchtypes.harmonic.HarmonicIntervalClass
- class pitchtypes.harmonic.HarmonicIntervalClass(exponents)
Bases:
Harmonic
- __init__(exponents)
Methods
__init__
(exponents)convert_to
(other_type)create_subtypes
()link_interval_class_type
([skip_name_check, ...])A decorator to link an interval class type to its base type.
link_interval_type
([skip_name_check, ...])A decorator to link an interval type to its base type.
link_pitch_class_type
([skip_name_check, ...])A decorator to link a pitch class type to its base type.
link_pitch_type
([skip_name_check, ...])A decorator to link a pitch type to its base type.
name_check
(cls, sub_type, suffix, ...)Check if
sub_type
follows the standard naming convention.parse_exponents
(exponents)set_func_attr
(sub_type, flags, names, funcs)Add functions
funcs
as methods withnames
to classsub_type
, controlled byflags
.- Interval
alias of
HarmonicInterval
- IntervalClass
alias of
HarmonicIntervalClass
- __eq__(other)
Return self==value.
- __hash__()
Return hash(self).
- __repr__()
Return repr(self).
- __setattr__(key, value)
Implement setattr(self, name, value).
- __weakref__
list of weak references to the object (if defined)