pitchtools.MelodicDiatonicIntervalSet

Inheritance diagram of abjad.tools.pitchtools.MelodicDiatonicIntervalSet.MelodicDiatonicIntervalSet.MelodicDiatonicIntervalSet

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

New in version 2.0.

Abjad model of melodic diatonic interval set:

abjad> pitchtools.MelodicDiatonicIntervalSet('M2 M2 -m3 -P4')
MelodicDiatonicIntervalSet('-P4 -m3 +M2')

Melodic diatonic interval sets are immutable.

Read-only Properties

MelodicDiatonicIntervalSet.harmonic_chromatic_interval_set[source]
MelodicDiatonicIntervalSet.harmonic_diatonic_interval_set[source]
MelodicDiatonicIntervalSet.melodic_chromatic_interval_set[source]
MelodicDiatonicIntervalSet.melodic_diatonic_interval_numbers[source]
MelodicDiatonicIntervalSet.melodic_diatonic_intervals[source]

Methods

MelodicDiatonicIntervalSet.copy()

Return a shallow copy of a set.

Note

Inherited from __builtin__.frozenset

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

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

MelodicDiatonicIntervalSet.isdisjoint()

Return True if two sets have a null intersection.

Note

Inherited from __builtin__.frozenset

MelodicDiatonicIntervalSet.issubset()

Report whether another set contains this set.

Note

Inherited from __builtin__.frozenset

MelodicDiatonicIntervalSet.issuperset()

Report whether this set contains another set.

Note

Inherited from __builtin__.frozenset

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

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

MelodicDiatonicIntervalSet.__and__()

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

Note

Inherited from __builtin__.frozenset

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

Note

Inherited from __builtin__.frozenset

MelodicDiatonicIntervalSet.__contains__()

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

Note

Inherited from __builtin__.frozenset

MelodicDiatonicIntervalSet.__delattr__()

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

Note

Inherited from __builtin__.object

MelodicDiatonicIntervalSet.__eq__()

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

Note

Inherited from __builtin__.frozenset

MelodicDiatonicIntervalSet.__ge__()

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

Note

Inherited from __builtin__.frozenset

MelodicDiatonicIntervalSet.__gt__()

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

Note

Inherited from __builtin__.frozenset

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

Note

Inherited from __builtin__.frozenset

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

Note

Inherited from __builtin__.frozenset

MelodicDiatonicIntervalSet.__le__()

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

Note

Inherited from __builtin__.frozenset

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

Note

Inherited from __builtin__.frozenset

MelodicDiatonicIntervalSet.__lt__()

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

Note

Inherited from __builtin__.frozenset

MelodicDiatonicIntervalSet.__ne__()

x.__ne__(y) <==> x!=y

Note

Inherited from __builtin__.frozenset

MelodicDiatonicIntervalSet.__or__()

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

Note

Inherited from __builtin__.frozenset

MelodicDiatonicIntervalSet.__rand__()

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

Note

Inherited from __builtin__.frozenset

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

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

Note

Inherited from __builtin__.frozenset

MelodicDiatonicIntervalSet.__rsub__()

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

Note

Inherited from __builtin__.frozenset

MelodicDiatonicIntervalSet.__rxor__()

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

Note

Inherited from __builtin__.frozenset

MelodicDiatonicIntervalSet.__setattr__()

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

Note

Inherited from __builtin__.object

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

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

Note

Inherited from __builtin__.frozenset

MelodicDiatonicIntervalSet.__xor__()

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

Note

Inherited from __builtin__.frozenset

Table Of Contents

This Page