New in version 2.0.
Abjad model of a numbered diatonic pitch:
abjad> pitchtools.NumberedDiatonicPitch(7)
NumberedDiatonicPitch(7)
Numbered diatonic pitches are immutable.
Read-only chromatic pitch number:
abjad> pitchtools.NumberedDiatonicPitch(7).chromatic_pitch_number
12
Return integer.
Read-only diatonic pitch number:
abjad> pitchtools.NumberedDiatonicPitch(7).diatonic_pitch_number
7
Return integer.
Read-only named diatonic pitch:
abjad> pitchtools.NumberedDiatonicPitch(7).named_diatonic_pitch
NamedDiatonicPitch("c''")
Return named diatonic pitch.
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._DiatonicPitch
Initialize new object from arg and evaluate comparison attributes.
Return boolean.
Note
Inherited from abctools.SortableAttributeEqualityAbjadObject
Initialize new object from arg and evaluate comparison attributes.
Return boolean.
Note
Inherited from abctools.SortableAttributeEqualityAbjadObject
Note
Inherited from pitchtools._Pitch
Note
Inherited from pitchtools._DiatonicPitch
Initialize new object from arg and evaluate comparison attributes.
Return boolean.
Note
Inherited from abctools.SortableAttributeEqualityAbjadObject
Initialize new object from arg and evaluate comparison attributes.
Return boolean.
Note
Inherited from abctools.SortableAttributeEqualityAbjadObject
Note
Inherited from pitchtools._Pitch
x.__setattr__(‘name’, value) <==> x.name = value
Note
Inherited from __builtin__.object