BeatwiseQSchemaItem

digraph InheritanceGraph { graph [bgcolor=transparent, color=lightsteelblue2, fontname=Arial, fontsize=10, outputorder=edgesfirst, overlap=prism, penwidth=2, rankdir=LR, splines=spline, style="dashed, rounded", truecolor=true]; node [colorscheme=pastel19, fontname=Arial, fontsize=10, height=0, penwidth=2, shape=box, style="filled, rounded", width=0]; edge [color=lightslategrey, penwidth=1]; subgraph "cluster_abjad.system" { graph [label="abjad.system"]; node [color=1]; "abjad.system.AbjadObject.AbjadObject" [URL="../api/abjadext/nauert/../../abjad/system/AbjadObject.html#abjad.system.AbjadObject.AbjadObject", label="Abjad\nObject", target=_top]; } subgraph "cluster_abjadext.nauert" { graph [label="abjadext.nauert"]; node [color=2]; "abjadext.nauert.BeatwiseQSchemaItem.BeatwiseQSchemaItem" [URL="../api/abjadext/nauert/BeatwiseQSchemaItem.html#abjadext.nauert.BeatwiseQSchemaItem.BeatwiseQSchemaItem", color=black, fontcolor=white, label="Beatwise\nQSchema\nItem", target=_top]; "abjadext.nauert.QSchemaItem.QSchemaItem" [URL="../api/abjadext/nauert/QSchemaItem.html#abjadext.nauert.QSchemaItem.QSchemaItem", label="QSchema\nItem", shape=oval, style=bold, target=_top]; "abjadext.nauert.QSchemaItem.QSchemaItem" -> "abjadext.nauert.BeatwiseQSchemaItem.BeatwiseQSchemaItem"; } subgraph cluster_builtins { graph [label=builtins]; node [color=3]; "builtins.object" [URL="https://docs.python.org/3.6/library/functions.html#object", label=object, target=_top]; } "abjad.system.AbjadObject.AbjadObject" -> "abjadext.nauert.QSchemaItem.QSchemaItem"; "builtins.object" -> "abjad.system.AbjadObject.AbjadObject"; }

class abjadext.nauert.BeatwiseQSchemaItem.BeatwiseQSchemaItem(beatspan=None, search_tree=None, tempo=None)

Beatwise q-schema item.

Represents a change of state in the timeline of an unmetered quantization process.

>>> q_schema_item = abjadext.nauert.BeatwiseQSchemaItem()
>>> abjad.f(q_schema_item)
abjadext.nauert.BeatwiseQSchemaItem()

Defines a change in tempo:

>>> q_schema_item = abjadext.nauert.BeatwiseQSchemaItem(
...     tempo=((1, 4), 60),
...     )
>>> abjad.f(q_schema_item)
abjadext.nauert.BeatwiseQSchemaItem(
    tempo=abjad.MetronomeMark(
        reference_duration=abjad.Duration(1, 4),
        units_per_minute=60,
        ),
    )

Defines a change in beatspan:

>>> q_schema_item = abjadext.nauert.BeatwiseQSchemaItem(
...     beatspan=(1, 8),
...     )
>>> abjad.f(q_schema_item)
abjadext.nauert.BeatwiseQSchemaItem(
    beatspan=abjad.Duration(1, 8),
    )

Attributes Summary

beatspan The optionally defined beatspan duration.

Special methods

(QSchemaItem).__format__(format_specification='')

Formats q schema item.

Set format_specification to ‘’ or ‘storage’. Interprets ‘’ equal to ‘storage’.

Returns string.

(AbjadObject).__repr__()

Gets interpreter representation of Abjad object.

Returns string.


Read-only properties

beatspan

The optionally defined beatspan duration.

Returns duration or none.

(QSchemaItem).search_tree

The optionally defined search tree.

Returns search tree or none.

(QSchemaItem).tempo

The optionally defined tempo.

Returns tempo or none.