New in version 2.0.
Abjad model of a named diatonic pitch-class:
abjad> pitchtools.NamedDiatonicPitchClass('c')
NamedDiatonicPitchClass('c')
Named diatonic pitch-classes are immutable.
Read-only numbered diatonic pitch-class from named diatonic pitch-class:
abjad> named_diatonic_pitch_class = pitchtools.NamedDiatonicPitchClass('c')
abjad> named_diatonic_pitch_class.numbered_diatonic_pitch_class
NumberedDiatonicPitchClass(0)
Return numbered diatonic pitch-class.
x.__delattr__(‘name’) <==> del x.name
Note
Inherited from __builtin__.object
Initialize new object from arg and evaluate comparison attributes.
Return boolean.
Note
Inherited from abctools.AttributeEqualityAbjadObject
Abjad objects by default do not implement this method.
Raise exception.
Note
Inherited from abctools.AbjadObject
Abjad objects by default do not implement this method.
Raise exception
Note
Inherited from abctools.AbjadObject
Note
Inherited from pitchtools._PitchClass
Abjad objects by default do not implement this method.
Raise exception.
Note
Inherited from abctools.AbjadObject
Abjad objects by default do not implement this method.
Raise exception.
Note
Inherited from abctools.AbjadObject
Initialize new object from arg and evaluate comparison attributes.
Return boolean.
Note
Inherited from abctools.AttributeEqualityAbjadObject
x.__setattr__(‘name’, value) <==> x.name = value
Note
Inherited from __builtin__.object