ConcatenatingGraceHandler

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.ConcatenatingGraceHandler.ConcatenatingGraceHandler" [URL="../api/abjadext/nauert/ConcatenatingGraceHandler.html#abjadext.nauert.ConcatenatingGraceHandler.ConcatenatingGraceHandler", color=black, fontcolor=white, label="Concatenating\nGrace\nHandler", target=_top]; "abjadext.nauert.GraceHandler.GraceHandler" [URL="../api/abjadext/nauert/GraceHandler.html#abjadext.nauert.GraceHandler.GraceHandler", label="Grace\nHandler", shape=oval, style=bold, target=_top]; "abjadext.nauert.GraceHandler.GraceHandler" -> "abjadext.nauert.ConcatenatingGraceHandler.ConcatenatingGraceHandler"; } 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.GraceHandler.GraceHandler"; "builtins.object" -> "abjad.system.AbjadObject.AbjadObject"; }

class abjadext.nauert.ConcatenatingGraceHandler.ConcatenatingGraceHandler(grace_duration=None)

Concatenating grace-handler.

Concatenates all but the final QEvent attached to a QGrid offset into a GraceContainer, using a fixed leaf duration duration.

When called, it returns pitch information of final QEvent, and the generated GraceContainer, if any.


Attributes Summary

__call__ Calls concatenating grace handler.
grace_duration Grace duration of concantenating grace handler.

Special methods

__call__(q_events)

Calls concatenating grace handler.

(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

grace_duration

Grace duration of concantenating grace handler.

Returns duration.