notetools.NoteHead

Inheritance diagram of abjad.tools.notetools.NoteHead.NoteHead.NoteHead

class abjad.tools.notetools.NoteHead.NoteHead.NoteHead(*args)[source]

Abjad model of a note head:

abjad> notetools.NoteHead(13)
NoteHead("cs''")

Note heads are immutable.

Read-only Properties

NoteHead.format[source]

Read-only LilyPond input format of note head:

abjad> note_head = notetools.NoteHead("cs''")
abjad> note_head.format
"cs''"

Return string.

NoteHead.named_chromatic_pitch[source]

Read-only named chromatic pitch equal to note head:

abjad> note_head = notetools.NoteHead("cs''")
abjad> note_head.named_chromatic_pitch
NamedChromaticPitch("cs''")

Return named chromatic pitch.

NoteHead.tweak[source]

Read-only LilyPond tweak reservoir:

abjad> note_head = notetools.NoteHead("cs''")
abjad> note_head.tweak
LilyPondTweakReservoir()

Return LilyPond tweak reservoir.

Read/write Properties

NoteHead.written_pitch[source]

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.

Special Methods

NoteHead.__delattr__()

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

Note

Inherited from __builtin__.object

NoteHead.__eq__(arg)

Initialize new object from arg and evaluate comparison attributes.

Return boolean.

NoteHead.__ge__(arg)

Initialize new object from arg and evaluate comparison attributes.

Return boolean.

NoteHead.__gt__(arg)

Initialize new object from arg and evaluate comparison attributes.

Return boolean.

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

Note

Inherited from __builtin__.object

NoteHead.__le__(arg)

Initialize new object from arg and evaluate comparison attributes.

Return boolean.

NoteHead.__lt__(arg)

Initialize new object from arg and evaluate comparison attributes.

Return boolean.

NoteHead.__ne__(arg)

Initialize new object from arg and evaluate comparison attributes.

Return boolean.

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

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

Note

Inherited from __builtin__.object

NoteHead.__str__()[source]

Table Of Contents

This Page