tonalitytools.ChordClass

Inheritance diagram of abjad.tools.tonalitytools.ChordClass.ChordClass.ChordClass

class abjad.tools.tonalitytools.ChordClass.ChordClass.ChordClass(*args, **kwargs)[source]

New in version 2.0.

Abjad model of tonal chords like G 7, G 6/5, G half-diminished 6/5, etc.

Note that notions like G 7 represent an entire class of chords because there are many different spacings and registrations of a G 7 chord.

Read-only Properties

ChordClass.bass[source]
ChordClass.cardinality[source]
ChordClass.extent[source]
ChordClass.figured_bass[source]
ChordClass.inversion[source]
ChordClass.inversion_equivalent_diatonic_interval_class_vector
ChordClass.markup[source]
ChordClass.named_chromatic_pitch_classes

Read-only named chromatic pitch-classes:

abjad> named_chromatic_pitch_class_set = pitchtools.NamedChromaticPitchClassSet(['gs', 'g', 'as', 'c', 'cs'])
abjad> named_chromatic_pitch_class_set.named_chromatic_pitch_classes # doctest: +SKIP
(NamedChromaticPitchClass('c'), NamedChromaticPitchClass('cs'), NamedChromaticPitchClass('g'), NamedChromaticPitchClass('gs'), NamedChromaticPitchClass('as'))

Return tuple.

ChordClass.numbered_chromatic_pitch_class_set
ChordClass.quality_indicator[source]
ChordClass.quality_pair[source]
ChordClass.root[source]
ChordClass.root_string[source]

Methods

ChordClass.copy()

Return a shallow copy of a set.

Note

Inherited from __builtin__.frozenset

ChordClass.difference()

Return the difference of two or more sets as a new set.

(i.e. all elements that are in this set but not the others.)

Note

Inherited from __builtin__.frozenset

ChordClass.intersection()

Return the intersection of two or more sets as a new set.

(i.e. elements that are common to all of the sets.)

Note

Inherited from __builtin__.frozenset

ChordClass.isdisjoint()

Return True if two sets have a null intersection.

Note

Inherited from __builtin__.frozenset

ChordClass.issubset()

Report whether another set contains this set.

Note

Inherited from __builtin__.frozenset

ChordClass.issuperset()

Report whether this set contains another set.

Note

Inherited from __builtin__.frozenset

ChordClass.order_by(npc_seg)
ChordClass.symmetric_difference()

Return the symmetric difference of two sets as a new set.

(i.e. all elements that are in exactly one of the sets.)

Note

Inherited from __builtin__.frozenset

ChordClass.transpose()[source]
ChordClass.union()

Return the union of sets as a new set.

(i.e. all elements that are in either set.)

Note

Inherited from __builtin__.frozenset

Special Methods

ChordClass.__and__()

x.__and__(y) <==> x&y

Note

Inherited from __builtin__.frozenset

ChordClass.__cmp__(y) <==> cmp(x, y)

Note

Inherited from __builtin__.frozenset

ChordClass.__contains__()

x.__contains__(y) <==> y in x.

Note

Inherited from __builtin__.frozenset

ChordClass.__delattr__()

x.__delattr__(‘name’) <==> del x.name

Note

Inherited from __builtin__.object

ChordClass.__eq__(arg)[source]
ChordClass.__ge__()

x.__ge__(y) <==> x>=y

Note

Inherited from __builtin__.frozenset

ChordClass.__gt__()

x.__gt__(y) <==> x>y

Note

Inherited from __builtin__.frozenset

ChordClass.__hash__()
ChordClass.__iter__() <==> iter(x)

Note

Inherited from __builtin__.frozenset

ChordClass.__le__()

x.__le__(y) <==> x<=y

Note

Inherited from __builtin__.frozenset

ChordClass.__len__() <==> len(x)

Note

Inherited from __builtin__.frozenset

ChordClass.__lt__()

x.__lt__(y) <==> x<y

Note

Inherited from __builtin__.frozenset

ChordClass.__ne__(arg)[source]
ChordClass.__or__()

x.__or__(y) <==> x|y

Note

Inherited from __builtin__.frozenset

ChordClass.__rand__()

x.__rand__(y) <==> y&x

Note

Inherited from __builtin__.frozenset

ChordClass.__repr__()[source]
ChordClass.__ror__()

x.__ror__(y) <==> y|x

Note

Inherited from __builtin__.frozenset

ChordClass.__rsub__()

x.__rsub__(y) <==> y-x

Note

Inherited from __builtin__.frozenset

ChordClass.__rxor__()

x.__rxor__(y) <==> y^x

Note

Inherited from __builtin__.frozenset

ChordClass.__setattr__()

x.__setattr__(‘name’, value) <==> x.name = value

Note

Inherited from __builtin__.object

ChordClass.__str__()
ChordClass.__sub__()

x.__sub__(y) <==> x-y

Note

Inherited from __builtin__.frozenset

ChordClass.__xor__()

x.__xor__(y) <==> x^y

Note

Inherited from __builtin__.frozenset

Table Of Contents

This Page