New in version 1.0.
Abjad model of a note:
abjad> Note(13, (3, 16))
Note("cs''8.")
Notes are immutable.
Note
Inherited from leaftools.Leaf
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
Inherited from leaftools.Leaf
Note
Inherited from leaftools.Leaf
Read-only tuple of marks attached to component.
Note
Inherited from componenttools.Component
Note
Inherited from leaftools.Leaf
Read-only reference to LilyPond grob override component plug-in.
Note
Inherited from componenttools.Component
Note
Inherited from componenttools.Component
Note
Inherited from leaftools.Leaf
Note
Inherited from componenttools.Component
Note
Inherited from componenttools.Component
Read-only reference LilyPond context setting component plug-in.
Note
Inherited from componenttools.Component
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.
Read-only reference to unordered set of spanners attached to component.
Note
Inherited from componenttools.Component
Note
Inherited from leaftools.Leaf
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
Inherited from leaftools.Leaf
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
Inherited from leaftools.Leaf
Note
Inherited from leaftools.Leaf
Note
Inherited from leaftools.Leaf
x.__delattr__(‘name’) <==> del x.name
Note
Inherited from __builtin__.object
True when id(self) equals id(arg).
Return boolean.
Note
Inherited from abctools.AbjadObject
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 __builtin__.object
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 componenttools.Component
True when id(self) does not equal id(arg).
Return boolean.
Note
Inherited from abctools.AbjadObject
Note
Inherited from leaftools.Leaf
Note
Inherited from leaftools.Leaf
Note
Inherited from componenttools.Component
x.__setattr__(‘name’, value) <==> x.name = value
Note
Inherited from __builtin__.object
Note
Inherited from leaftools.Leaf
Note
Inherited from leaftools.Leaf
Note
Inherited from leaftools.Leaf