marktools.Articulation

Inheritance diagram of abjad.tools.marktools.Articulation.Articulation.Articulation

class abjad.tools.marktools.Articulation.Articulation.Articulation(*args)[source]

Abjad model of musical articulation:

abjad> note = Note("c'4")
abjad> marktools.Articulation('staccato')(note)
Articulation('staccato')(c'4)
abjad> f(note)
c'4 -\staccato

Articulations implement __slots__.

Read-only Properties

Articulation.format[source]

Read-only LilyPond format string of articulation:

abjad> articulation = marktools.Articulation('marcato', 'up')
abjad> articulation.format
'^\marcato'

Return string.

Articulation.start_component

Read-only reference to mark start component:

abjad> note = Note("c'4")
abjad> mark = marktools.Mark()(note)
abjad> mark.start_component
Note("c'4")

Return component or none.

Note

Inherited from marktools.Mark

Read/write Properties

Articulation.direction

Note

Inherited from marktools._DirectedMark

Articulation.name[source]

Get name of articulation:

abjad> articulation = marktools.Articulation('staccato', 'up')
abjad> articulation.name
'staccato'

Set name of articulation:

abjad> articulation.name = 'marcato'
abjad> articulation.name
'marcato'

Set string.

Methods

Articulation.attach(start_component)

Attach mark to start_component:

abjad> note = Note("c'4")
abjad> mark = marktools.Mark()
abjad> mark.attach(note)
Mark()(c'4)
abjad> mark.start_component
Note("c'4")

Return mark.

Note

Inherited from marktools.Mark

Articulation.detach()

Detach mark:

abjad> note = Note("c'4")
abjad> mark = marktools.Mark()(note)
abjad> mark.start_component
Note("c'4")
abjad> mark.detach()
Mark()
abjad> mark.start_component is None
True

Return mark.

Note

Inherited from marktools.Mark

Special Methods

Articulation.__call__(*args)

Note

Inherited from marktools.Mark

Articulation.__delattr__(*args)

Note

Inherited from marktools.Mark

Articulation.__eq__(expr)[source]
Articulation.__ge__(arg)

Abjad objects by default do not implement this method.

Raise exception.

Note

Inherited from abctools.AbjadObject

Articulation.__gt__(arg)

Abjad objects by default do not implement this method.

Raise exception

Note

Inherited from abctools.AbjadObject

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

Note

Inherited from __builtin__.object

Articulation.__le__(arg)

Abjad objects by default do not implement this method.

Raise exception.

Note

Inherited from abctools.AbjadObject

Articulation.__lt__(arg)

Abjad objects by default do not implement this method.

Raise exception.

Note

Inherited from abctools.AbjadObject

Articulation.__ne__(arg)

Note

Inherited from marktools.Mark

Articulation.__repr__()

Note

Inherited from marktools.Mark

Articulation.__setattr__()

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

Note

Inherited from __builtin__.object

Articulation.__str__()[source]

Table Of Contents

This Page