QEvent

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.PitchedQEvent.PitchedQEvent" [URL="../api/abjadext/nauert/PitchedQEvent.html#abjadext.nauert.PitchedQEvent.PitchedQEvent", label="Pitched\nQEvent", target=_top]; "abjadext.nauert.QEvent.QEvent" [URL="../api/abjadext/nauert/QEvent.html#abjadext.nauert.QEvent.QEvent", color=black, fontcolor=white, label=QEvent, shape=oval, style="bold, filled", target=_top]; "abjadext.nauert.SilentQEvent.SilentQEvent" [URL="../api/abjadext/nauert/SilentQEvent.html#abjadext.nauert.SilentQEvent.SilentQEvent", label="Silent\nQEvent", target=_top]; "abjadext.nauert.TerminalQEvent.TerminalQEvent" [URL="../api/abjadext/nauert/TerminalQEvent.html#abjadext.nauert.TerminalQEvent.TerminalQEvent", label="Terminal\nQEvent", target=_top]; "abjadext.nauert.QEvent.QEvent" -> "abjadext.nauert.PitchedQEvent.PitchedQEvent"; "abjadext.nauert.QEvent.QEvent" -> "abjadext.nauert.SilentQEvent.SilentQEvent"; "abjadext.nauert.QEvent.QEvent" -> "abjadext.nauert.TerminalQEvent.TerminalQEvent"; } 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.QEvent.QEvent"; "builtins.object" -> "abjad.system.AbjadObject.AbjadObject"; }

abstract class abjadext.nauert.QEvent.QEvent(offset=0, index=None)

Abstract Q-event.

Represents an attack point to be quantized.

All QEvents possess a rational offset in milliseconds, and an optional index for disambiguating events which fall on the same offset in a QGrid.


Attributes Summary

__lt__ Is true when epxr is a q-event with offset greater than that of this q-event.
index The optional index, for sorting QEvents with identical offsets.
offset The offset in milliseconds of the event.

Special methods

(AbjadObject).__format__(format_specification='')

Formats Abjad object.

Set format_specification to '' or 'storage'. Interprets '' equal to 'storage'.

Returns string.

__lt__(argument)

Is true when epxr is a q-event with offset greater than that of this q-event. Otherwise false.

Returns true or false.

(AbjadObject).__repr__()

Gets interpreter representation of Abjad object.

Returns string.


Read-only properties

index

The optional index, for sorting QEvents with identical offsets.

offset

The offset in milliseconds of the event.