QSchema

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

abstract class abjadext.nauert.QSchema.QSchema(*arguments, **keywords)

Abstract Q-schema.

QSchema allows for the specification of quantization settings diachronically, at any time-step of the quantization process.

In practice, this provides a means for the composer to change the tempo, search-tree, time-signature etc., effectively creating a template into which quantized rhythms can be “poured”, without yet knowing what those rhythms might be, or even how much time the ultimate result will take. Like Abjad indicators the settings made at any given time-step via a QSchema instance are understood to persist until changed.

All concrete QSchema subclasses strongly implement default values for all of their parameters.

QSchema is abstract.


Attributes Summary

__call__ Calls QSchema on duration.
__format__ Formats q-event.
__getitem__ Gets item or slice identified by argument.
item_class The schema’s item class.
items The item dictionary.
search_tree The default search tree.
target_class The schema’s target class.
target_item_class The schema’s target class’ item class.
tempo The default tempo.

Special methods

__call__(duration)

Calls QSchema on duration.

__format__(format_specification='')

Formats q-event.

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

Returns string.

__getitem__(argument)

Gets item or slice identified by argument.

(AbjadObject).__repr__()

Gets interpreter representation of Abjad object.

Returns string.


Read-only properties

abstract item_class

The schema’s item class.

items

The item dictionary.

search_tree

The default search tree.

abstract target_class

The schema’s target class.

abstract target_item_class

The schema’s target class’ item class.

tempo

The default tempo.