notetools.Note

Inheritance diagram of abjad.tools.notetools.Note.Note.Note

class abjad.tools.notetools.Note.Note.Note(*args, **kwargs)[source]

New in version 1.0.

Abjad model of a note:

abjad> Note(13, (3, 16))
Note("cs''8.")

Notes are immutable.

Read-only Properties

Note.duration_in_seconds

Note

Inherited from leaftools.Leaf

Note.fingered_pitch[source]

Read-only fingered pitch of note:

abjad> staff = Staff("d''8 e''8 f''8 g''8")
abjad> piccolo = instrumenttools.Piccolo()(staff)
abjad> instrumenttools.transpose_notes_and_chords_in_expr_from_sounding_pitch_to_fingered_pitch(staff)
abjad> f(staff)
\new Staff {
    \set Staff.instrumentName = \markup { Piccolo }
    \set Staff.shortInstrumentName = \markup { Picc. }
    d'8
    e'8
    f'8
    g'8
}
abjad> staff[0].fingered_pitch
NamedChromaticPitch("d'")

Return named chromatic pitch.

Note.format

Note

Inherited from leaftools.Leaf

Note.leaf_index

Note

Inherited from leaftools.Leaf

Note.marks

Read-only tuple of marks attached to component.

Note

Inherited from componenttools.Component

Note.multiplied_duration

Note

Inherited from leaftools.Leaf

Note.override

Read-only reference to LilyPond grob override component plug-in.

Note

Inherited from componenttools.Component

Note.parent

Note

Inherited from componenttools.Component

Note.preprolated_duration

Note

Inherited from leaftools.Leaf

Note.prolated_duration

Note

Inherited from componenttools.Component

Note.prolation

Note

Inherited from componenttools.Component

Note.set

Read-only reference LilyPond context setting component plug-in.

Note

Inherited from componenttools.Component

Note.sounding_pitch[source]

Read-only sounding pitch of note:

abjad> staff = Staff("d''8 e''8 f''8 g''8")
abjad> piccolo = instrumenttools.Piccolo()(staff)
abjad> instrumenttools.transpose_notes_and_chords_in_expr_from_sounding_pitch_to_fingered_pitch(staff)
abjad> f(staff)
\new Staff {
    \set Staff.instrumentName = \markup { Piccolo }
    \set Staff.shortInstrumentName = \markup { Picc. }
    d'8
    e'8
    f'8
    g'8
}
abjad> staff[0].sounding_pitch
NamedChromaticPitch("d''")

Return named chromatic pitch.

Note.spanners

Read-only reference to unordered set of spanners attached to component.

Note

Inherited from componenttools.Component

Read/write Properties

Note.duration_multiplier

Note

Inherited from leaftools.Leaf

Note.note_head[source]

Get note head of note:

abjad> note = Note(13, (3, 16))
abjad> note.note_head
NoteHead("cs''")

Set note head of note:

abjad> note = Note(13, (3, 16))
abjad> note.note_head = 14
abjad> note
Note("d''8.")
Note.written_duration

Note

Inherited from leaftools.Leaf

Note.written_pitch[source]

Get named pitch of note:

abjad> note = Note(13, (3, 16))
abjad> note.written_pitch
NamedChromaticPitch("cs''")

Set named pitch of note:

abjad> note = Note(13, (3, 16))
abjad> note.written_pitch = 14
abjad> note
Note("d''8.")
Note.written_pitch_indication_is_at_sounding_pitch

Note

Inherited from leaftools.Leaf

Note.written_pitch_indication_is_nonsemantic

Note

Inherited from leaftools.Leaf

Special Methods

Note.__and__(arg)

Note

Inherited from leaftools.Leaf

Note.__delattr__()

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

Note

Inherited from __builtin__.object

Note.__eq__(arg)

True when id(self) equals id(arg).

Return boolean.

Note

Inherited from abctools.AbjadObject

Note.__ge__(arg)

Abjad objects by default do not implement this method.

Raise exception.

Note

Inherited from abctools.AbjadObject

Note.__gt__(arg)

Abjad objects by default do not implement this method.

Raise exception

Note

Inherited from abctools.AbjadObject

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

Note

Inherited from __builtin__.object

Note.__le__(arg)

Abjad objects by default do not implement this method.

Raise exception.

Note

Inherited from abctools.AbjadObject

Note.__lt__(arg)

Abjad objects by default do not implement this method.

Raise exception.

Note

Inherited from abctools.AbjadObject

Note.__mul__(n)

Note

Inherited from componenttools.Component

Note.__ne__(arg)

True when id(self) does not equal id(arg).

Return boolean.

Note

Inherited from abctools.AbjadObject

Note.__or__(arg)

Note

Inherited from leaftools.Leaf

Note.__repr__()

Note

Inherited from leaftools.Leaf

Note.__rmul__(n)

Note

Inherited from componenttools.Component

Note.__setattr__()

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

Note

Inherited from __builtin__.object

Note.__str__()

Note

Inherited from leaftools.Leaf

Note.__sub__(arg)

Note

Inherited from leaftools.Leaf

Note.__xor__(arg)

Note

Inherited from leaftools.Leaf

Table Of Contents

This Page