pitchtools.NamedChromaticPitchClassSegment

Inheritance diagram of abjad.tools.pitchtools.NamedChromaticPitchClassSegment.NamedChromaticPitchClassSegment.NamedChromaticPitchClassSegment

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

New in version 2.0.

Abjad model of named chromatic pitch-class segment:

abjad> pitchtools.NamedChromaticPitchClassSegment(['gs', 'a', 'as', 'c', 'cs'])
NamedChromaticPitchClassSegment(['gs', 'a', 'as', 'c', 'cs'])

Named chromatic pitch-class segments are immutable.

Read-only Properties

NamedChromaticPitchClassSegment.inversion_equivalent_diatonic_interval_class_segment[source]
NamedChromaticPitchClassSegment.named_chromatic_pitch_class_set[source]
NamedChromaticPitchClassSegment.named_chromatic_pitch_classes[source]
NamedChromaticPitchClassSegment.numbered_chromatic_pitch_class_segment[source]
NamedChromaticPitchClassSegment.numbered_chromatic_pitch_class_set[source]
NamedChromaticPitchClassSegment.numbered_chromatic_pitch_classes[source]

Methods

NamedChromaticPitchClassSegment.count(value) → integer -- return number of occurrences of value

Note

Inherited from __builtin__.tuple

NamedChromaticPitchClassSegment.index(value[, start[, stop]]) → integer -- return first index of value.

Raises ValueError if the value is not present.

Note

Inherited from __builtin__.tuple

NamedChromaticPitchClassSegment.is_equivalent_under_transposition(arg)[source]
NamedChromaticPitchClassSegment.retrograde()[source]
NamedChromaticPitchClassSegment.rotate(n)[source]
NamedChromaticPitchClassSegment.transpose(melodic_diatonic_interval)[source]

Special Methods

NamedChromaticPitchClassSegment.__add__(arg)

Note

Inherited from pitchtools._Segment

NamedChromaticPitchClassSegment.__contains__()

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

Note

Inherited from __builtin__.tuple

NamedChromaticPitchClassSegment.__delattr__()

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

Note

Inherited from __builtin__.object

NamedChromaticPitchClassSegment.__eq__()

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

Note

Inherited from __builtin__.tuple

NamedChromaticPitchClassSegment.__ge__()

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

Note

Inherited from __builtin__.tuple

NamedChromaticPitchClassSegment.__getitem__()

x.__getitem__(y) <==> x[y]

Note

Inherited from __builtin__.tuple

NamedChromaticPitchClassSegment.__getslice__(start, stop)

Note

Inherited from pitchtools._Segment

NamedChromaticPitchClassSegment.__gt__()

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

Note

Inherited from __builtin__.tuple

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

Note

Inherited from __builtin__.tuple

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

Note

Inherited from __builtin__.tuple

NamedChromaticPitchClassSegment.__le__()

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

Note

Inherited from __builtin__.tuple

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

Note

Inherited from __builtin__.tuple

NamedChromaticPitchClassSegment.__lt__()

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

Note

Inherited from __builtin__.tuple

NamedChromaticPitchClassSegment.__mul__(n)

Note

Inherited from pitchtools._Segment

NamedChromaticPitchClassSegment.__ne__()

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

Note

Inherited from __builtin__.tuple

NamedChromaticPitchClassSegment.__repr__()[source]
NamedChromaticPitchClassSegment.__rmul__(n)

Note

Inherited from pitchtools._Segment

NamedChromaticPitchClassSegment.__setattr__()

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

Note

Inherited from __builtin__.object

NamedChromaticPitchClassSegment.__str__()[source]

Table Of Contents

This Page