pitchtools.NamedChromaticPitchSet

Inheritance diagram of abjad.tools.pitchtools.NamedChromaticPitchSet.NamedChromaticPitchSet.NamedChromaticPitchSet

class abjad.tools.pitchtools.NamedChromaticPitchSet.NamedChromaticPitchSet.NamedChromaticPitchSet(*args, **kwargs)[source]

New in version 2.0.

Abjad model of a named chromatic pitch set:

abjad> pitchtools.NamedChromaticPitchSet(['bf', 'bqf', "fs'", "g'", 'bqf', "g'"])
NamedChromaticPitchSet(['bf', 'bqf', "fs'", "g'"])

Named chromatic pitch sets are immutable.

Read-only Properties

NamedChromaticPitchSet.chromatic_pitch_numbers[source]
NamedChromaticPitchSet.duplicate_pitch_classes[source]
NamedChromaticPitchSet.is_pitch_class_unique[source]
NamedChromaticPitchSet.named_chromatic_pitches[source]
NamedChromaticPitchSet.numbered_chromatic_pitch_class_set[source]
NamedChromaticPitchSet.numbered_chromatic_pitch_classes[source]

Methods

NamedChromaticPitchSet.copy()

Return a shallow copy of a set.

Note

Inherited from __builtin__.frozenset

NamedChromaticPitchSet.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

NamedChromaticPitchSet.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

NamedChromaticPitchSet.isdisjoint()

Return True if two sets have a null intersection.

Note

Inherited from __builtin__.frozenset

NamedChromaticPitchSet.issubset()

Report whether another set contains this set.

Note

Inherited from __builtin__.frozenset

NamedChromaticPitchSet.issuperset()

Report whether this set contains another set.

Note

Inherited from __builtin__.frozenset

NamedChromaticPitchSet.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

NamedChromaticPitchSet.transpose(n)[source]

Transpose all pcs in self by n.

NamedChromaticPitchSet.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

NamedChromaticPitchSet.__and__()

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

Note

Inherited from __builtin__.frozenset

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

Note

Inherited from __builtin__.frozenset

NamedChromaticPitchSet.__contains__()

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

Note

Inherited from __builtin__.frozenset

NamedChromaticPitchSet.__delattr__()

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

Note

Inherited from __builtin__.object

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

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

Note

Inherited from __builtin__.frozenset

NamedChromaticPitchSet.__gt__()

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

Note

Inherited from __builtin__.frozenset

NamedChromaticPitchSet.__hash__() <==> hash(x)

Note

Inherited from __builtin__.frozenset

NamedChromaticPitchSet.__iter__() <==> iter(x)

Note

Inherited from __builtin__.frozenset

NamedChromaticPitchSet.__le__()

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

Note

Inherited from __builtin__.frozenset

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

Note

Inherited from __builtin__.frozenset

NamedChromaticPitchSet.__lt__()

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

Note

Inherited from __builtin__.frozenset

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

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

Note

Inherited from __builtin__.frozenset

NamedChromaticPitchSet.__rand__()

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

Note

Inherited from __builtin__.frozenset

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

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

Note

Inherited from __builtin__.frozenset

NamedChromaticPitchSet.__rsub__()

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

Note

Inherited from __builtin__.frozenset

NamedChromaticPitchSet.__rxor__()

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

Note

Inherited from __builtin__.frozenset

NamedChromaticPitchSet.__setattr__()

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

Note

Inherited from __builtin__.object

NamedChromaticPitchSet.__str__()[source]
NamedChromaticPitchSet.__sub__()

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

Note

Inherited from __builtin__.frozenset

NamedChromaticPitchSet.__xor__()

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

Note

Inherited from __builtin__.frozenset

Table Of Contents

This Page