Abjad model of a note head:
abjad> notetools.NoteHead(13)
NoteHead("cs''")
Note heads are immutable.
Read-only LilyPond input format of note head:
abjad> note_head = notetools.NoteHead("cs''")
abjad> note_head.format
"cs''"
Return string.
Get named pitch of note head:
abjad> note_head = notetools.NoteHead("cs''")
abjad> note_head.written_pitch
NamedChromaticPitch("cs''")
Set named pitch of note head:
abjad> note_head = notetools.NoteHead("cs''")
abjad> note_head.written_pitch = "d''"
abjad> note_head.written_pitch
NamedChromaticPitch("d''")
Set pitch token.
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
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 __builtin__.object
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
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