pitchtools.NumberedChromaticPitchClassColorMap

Inheritance diagram of abjad.tools.pitchtools.NumberedChromaticPitchClassColorMap.NumberedChromaticPitchClassColorMap.NumberedChromaticPitchClassColorMap

class abjad.tools.pitchtools.NumberedChromaticPitchClassColorMap.NumberedChromaticPitchClassColorMap.NumberedChromaticPitchClassColorMap(pitch_iterables, colors)[source]

New in version 2.0.

Abjad model of a numbered chromatic pitch-class color map:

abjad> chromatic_pitch_class_numbers = [[-8, 2, 10, 21], [0, 11, 32, 41], [15, 25, 42, 43]]
abjad> colors = ['red', 'green', 'blue']
abjad> pitchtools.NumberedChromaticPitchClassColorMap(chromatic_pitch_class_numbers, colors)
NumberedChromaticPitchClassColorMap([[-8, 2, 10, 21], [0, 11, 32, 41], [15, 25, 42, 43]], ['red', 'green', 'blue'])

Numbered chromatic pitch-class color maps are immutable.

Read-only Properties

NumberedChromaticPitchClassColorMap.colors[source]
NumberedChromaticPitchClassColorMap.pairs[source]
NumberedChromaticPitchClassColorMap.pitch_iterables[source]
NumberedChromaticPitchClassColorMap.twelve_tone_complete[source]
NumberedChromaticPitchClassColorMap.twenty_four_tone_complete[source]

Methods

NumberedChromaticPitchClassColorMap.get(key, alternative=None)[source]

Special Methods

NumberedChromaticPitchClassColorMap.__delattr__()

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

Note

Inherited from __builtin__.object

NumberedChromaticPitchClassColorMap.__eq__(arg)

True when id(self) equals id(arg).

Return boolean.

Note

Inherited from abctools.AbjadObject

NumberedChromaticPitchClassColorMap.__ge__(arg)

Abjad objects by default do not implement this method.

Raise exception.

Note

Inherited from abctools.AbjadObject

NumberedChromaticPitchClassColorMap.__getitem__(pc)[source]
NumberedChromaticPitchClassColorMap.__gt__(arg)

Abjad objects by default do not implement this method.

Raise exception

Note

Inherited from abctools.AbjadObject

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

Note

Inherited from __builtin__.object

NumberedChromaticPitchClassColorMap.__le__(arg)

Abjad objects by default do not implement this method.

Raise exception.

Note

Inherited from abctools.AbjadObject

NumberedChromaticPitchClassColorMap.__lt__(arg)

Abjad objects by default do not implement this method.

Raise exception.

Note

Inherited from abctools.AbjadObject

NumberedChromaticPitchClassColorMap.__ne__(arg)

True when id(self) does not equal id(arg).

Return boolean.

Note

Inherited from abctools.AbjadObject

NumberedChromaticPitchClassColorMap.__repr__()[source]
NumberedChromaticPitchClassColorMap.__setattr__()

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

Note

Inherited from __builtin__.object

NumberedChromaticPitchClassColorMap.__str__() <==> str(x)

Note

Inherited from __builtin__.object

Table Of Contents

This Page