New in version 2.0.
Abjad model of a numbered diatonic pitch-class:
abjad> pitchtools.NumberedDiatonicPitchClass(0)
NumberedDiatonicPitchClass(0)
Numbered diatonic pitch-classes are immutable.
Read-only named diatonic pitch-class from numbered diatonic pitch-class:
abjad> numbered_diatonic_pitch_class = pitchtools.NumberedDiatonicPitchClass(0)
abjad> numbered_diatonic_pitch_class.named_diatonic_pitch_class
NamedDiatonicPitchClass('c')
Return named diatonic pitch-class.
Note
Inherited from pitchtools._DiatonicPitchClass
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
Note
Inherited from pitchtools._DiatonicPitchClass
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
Note
Inherited from pitchtools._DiatonicPitchClass
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