QTarget

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.BeatwiseQTarget.BeatwiseQTarget" [URL="../api/abjadext/nauert/BeatwiseQTarget.html#abjadext.nauert.BeatwiseQTarget.BeatwiseQTarget", label="Beatwise\nQTarget", target=_top]; "abjadext.nauert.MeasurewiseQTarget.MeasurewiseQTarget" [URL="../api/abjadext/nauert/MeasurewiseQTarget.html#abjadext.nauert.MeasurewiseQTarget.MeasurewiseQTarget", label="Measurewise\nQTarget", target=_top]; "abjadext.nauert.QTarget.QTarget" [URL="../api/abjadext/nauert/QTarget.html#abjadext.nauert.QTarget.QTarget", color=black, fontcolor=white, label=QTarget, shape=oval, style="bold, filled", target=_top]; "abjadext.nauert.QTarget.QTarget" -> "abjadext.nauert.BeatwiseQTarget.BeatwiseQTarget"; "abjadext.nauert.QTarget.QTarget" -> "abjadext.nauert.MeasurewiseQTarget.MeasurewiseQTarget"; } 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.QTarget.QTarget"; "builtins.object" -> "abjad.system.AbjadObject.AbjadObject"; }

abstract class abjadext.nauert.QTarget.QTarget(items=None)

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


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

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

Calls q-target.

(AbjadObject).__format__(format_specification='')

Formats Abjad object.

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

abstract beats

Beats of q-target.

duration_in_ms

Duration of q-target in milliseconds.

Returns duration.

abstract item_class

Item class of q-target.

items

Items of q-target.