qtargets

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_abc { graph [label=abc]; node [color=1]; "abc.ABC" [URL="https://docs.python.org/3.10/library/abc.html#abc.ABC", label=ABC, target=_top]; } subgraph "cluster_abjadext.nauert.qtargets" { graph [label="abjadext.nauert.qtargets"]; node [color=2]; "abjadext.nauert.qtargets.BeatwiseQTarget" [URL="../api/abjadext/nauert/qtargets.html#abjadext.nauert.qtargets.BeatwiseQTarget", color=black, fontcolor=white, label="Beatwise\nQTarget", target=_top]; "abjadext.nauert.qtargets.MeasurewiseQTarget" [URL="../api/abjadext/nauert/qtargets.html#abjadext.nauert.qtargets.MeasurewiseQTarget", color=black, fontcolor=white, label="Measurewise\nQTarget", target=_top]; "abjadext.nauert.qtargets.QTarget" [URL="../api/abjadext/nauert/qtargets.html#abjadext.nauert.qtargets.QTarget", color=black, fontcolor=white, label=QTarget, shape=oval, style="bold, filled", target=_top]; "abjadext.nauert.qtargets.QTarget" -> "abjadext.nauert.qtargets.BeatwiseQTarget"; "abjadext.nauert.qtargets.QTarget" -> "abjadext.nauert.qtargets.MeasurewiseQTarget"; } subgraph cluster_builtins { graph [label=builtins]; node [color=3]; "builtins.object" [URL="https://docs.python.org/3.10/library/functions.html#object", label=object, target=_top]; } "abc.ABC" -> "abjadext.nauert.qtargets.QTarget"; "builtins.object" -> "abc.ABC"; }


Abstract Classes

QTarget

Abstract q-target.

abstract class abjadext.nauert.qtargets.QTarget(items=None)[source]

Abstract q-target.

QTarget is created by a concrete QSchema instance, and represents the mold into which the timepoints contained by a QSequence instance will be poured, as structured by that QSchema instance.

Not composer-safe.

Used internally by the quantize function.


Attributes Summary

__call__

Calls q-target.

beats

Beats of q-target.

duration_in_ms

Duration of q-target in milliseconds.

item_class

Item class of q-target.

items

Items of q-target.


Special methods

overridden __call__(q_event_sequence, grace_handler=None, heuristic=None, job_handler=None, attack_point_optimizer=None, attach_tempos=True)[source]

Calls q-target.


Read-only properties

beats

Beats of q-target.

duration_in_ms

Duration of q-target in milliseconds.

item_class

Item class of q-target.

items

Items of q-target.


Classes

BeatwiseQTarget

Beatwise q-target.

MeasurewiseQTarget

Measurewise quantization target.

class abjadext.nauert.qtargets.BeatwiseQTarget(items=None)[source]

Beatwise q-target.

Not composer-safe.

Used internally by the quantize function.


Attributes Summary

beats

Beats of beatwise q-target.

item_class

Item class of beatwise q-target.


Special methods

(QTarget).__call__(q_event_sequence, grace_handler=None, heuristic=None, job_handler=None, attack_point_optimizer=None, attach_tempos=True)

Calls q-target.


Read-only properties

overridden beats

Beats of beatwise q-target.

(QTarget).duration_in_ms

Duration of q-target in milliseconds.

overridden item_class

Item class of beatwise q-target.

(QTarget).items

Items of q-target.

class abjadext.nauert.qtargets.MeasurewiseQTarget(items=None)[source]

Measurewise quantization target.

Not composer-safe.

Used internally by the quantize function.


Attributes Summary

beats

Beats of measurewise q-target.

item_class

Item class of measurewise q-target.


Special methods

(QTarget).__call__(q_event_sequence, grace_handler=None, heuristic=None, job_handler=None, attack_point_optimizer=None, attach_tempos=True)

Calls q-target.


Read-only properties

overridden beats

Beats of measurewise q-target.

(QTarget).duration_in_ms

Duration of q-target in milliseconds.

overridden item_class

Item class of measurewise q-target.

(QTarget).items

Items of q-target.