marktools.StemTremolo

Inheritance diagram of abjad.tools.marktools.StemTremolo.StemTremolo.StemTremolo

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

New in version 2.0.

Abjad model of stem tremolo:

abjad> note = Note("c'4")
abjad> marktools.StemTremolo(16)(note)
StemTremolo(16)(c'4)
abjad> f(note)
c'4 :16

Stem tremolos implement __slots__.

Read-only Properties

StemTremolo.format[source]

Read-only LilyPond format string:

abjad> stem_tremolo = marktools.StemTremolo(16)
abjad> stem_tremolo.format
':16'

Return string.

StemTremolo.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

StemTremolo.tremolo_flags[source]

Get tremolo flags:

abjad> stem_tremolo = marktools.StemTremolo(16)
abjad> stem_tremolo.tremolo_flags
16

Set tremolo flags:

abjad> stem_tremolo.tremolo_flags = 32
abjad> stem_tremolo.tremolo_flags
32

Set integer.

Methods

StemTremolo.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

StemTremolo.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

StemTremolo.__call__(*args)

Note

Inherited from marktools.Mark

StemTremolo.__delattr__(*args)

Note

Inherited from marktools.Mark

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

Abjad objects by default do not implement this method.

Raise exception.

Note

Inherited from abctools.AbjadObject

StemTremolo.__gt__(arg)

Abjad objects by default do not implement this method.

Raise exception

Note

Inherited from abctools.AbjadObject

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

Note

Inherited from __builtin__.object

StemTremolo.__le__(arg)

Abjad objects by default do not implement this method.

Raise exception.

Note

Inherited from abctools.AbjadObject

StemTremolo.__lt__(arg)

Abjad objects by default do not implement this method.

Raise exception.

Note

Inherited from abctools.AbjadObject

StemTremolo.__ne__(arg)

Note

Inherited from marktools.Mark

StemTremolo.__repr__()

Note

Inherited from marktools.Mark

StemTremolo.__setattr__()

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

Note

Inherited from __builtin__.object

StemTremolo.__str__()[source]

Table Of Contents

This Page