schemetools.SchemeMoment

Inheritance diagram of abjad.tools.schemetools.SchemeMoment.SchemeMoment.SchemeMoment

class abjad.tools.schemetools.SchemeMoment.SchemeMoment.SchemeMoment(*args, **kwargs)[source]

Abjad model of LilyPond moment:

abjad> schemetools.SchemeMoment(1, 68)
SchemeMoment(1, 68)

Initialize scheme moments with a single fraction, two integers or another scheme moment.

Scheme moments are immutable.

Read-only Properties

SchemeMoment.duration[source]

Duration of scheme moment:

abjad> scheme_moment = schemetools.SchemeMoment(1, 68)
abjad> scheme_moment.duration
Fraction(1, 68)

Return duration.

SchemeMoment.format

Hash-mark-prepended format of Scheme:

abjad> from abjad.tools.schemetools import Scheme
abjad> Scheme(True).format
'##t'

Returns string.

Note

Inherited from schemetools.Scheme

Special Methods

SchemeMoment.__delattr__()

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

Note

Inherited from __builtin__.object

SchemeMoment.__eq__(arg)[source]
SchemeMoment.__ge__(arg)[source]
SchemeMoment.__gt__(arg)[source]
SchemeMoment.__hash__() <==> hash(x)

Note

Inherited from __builtin__.object

SchemeMoment.__le__(arg)[source]
SchemeMoment.__lt__(arg)[source]
SchemeMoment.__ne__(arg)[source]
SchemeMoment.__repr__()[source]
SchemeMoment.__setattr__()

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

Note

Inherited from __builtin__.object

SchemeMoment.__str__()

Note

Inherited from schemetools.Scheme

Table Of Contents

This Page