DoneAction

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_builtins { graph [label=builtins]; node [color=1]; "builtins.int" [URL="https://docs.python.org/3.6/library/functions.html#int", label=int, target=_top]; "builtins.object" [URL="https://docs.python.org/3.6/library/functions.html#object", label=object, target=_top]; "builtins.object" -> "builtins.int"; } subgraph cluster_enum { graph [label=enum]; node [color=2]; "enum.Enum" [URL="https://docs.python.org/3.6/library/enum.html#enum.Enum", label=Enum, target=_top]; "enum.IntEnum" [URL="https://docs.python.org/3.6/library/enum.html#enum.IntEnum", label="Int\nEnum", target=_top]; "enum.Enum" -> "enum.IntEnum"; } subgraph "cluster_supriya.synthdefs" { graph [label="supriya.synthdefs"]; node [color=3]; "supriya.synthdefs.DoneAction.DoneAction" [URL="../api/supriya/synthdefs/DoneAction.html#supriya.synthdefs.DoneAction.DoneAction", color=black, fontcolor=white, label="Done\nAction", target=_top]; } subgraph "cluster_uqbar.enums" { graph [label="uqbar.enums"]; node [color=4]; "uqbar.enums.IntEnumeration" [label="Int\nEnumeration"]; } "builtins.int" -> "enum.IntEnum"; "builtins.object" -> "enum.Enum"; "enum.IntEnum" -> "uqbar.enums.IntEnumeration"; "uqbar.enums.IntEnumeration" -> "supriya.synthdefs.DoneAction.DoneAction"; }

class supriya.synthdefs.DoneAction.DoneAction[source]

An enumeration of scsynth UGen “done” actions.

>>> import supriya.synthdefs
>>> supriya.synthdefs.DoneAction(2)
DoneAction.FREE_SYNTH
>>> supriya.synthdefs.DoneAction.from_expr('pause synth')
DoneAction.PAUSE_SYNTH

Attributes Summary

FREE_SYNTH
FREE_SYNTH_AND_ALL_FOLLOWING_NODES_IN_GROUP
FREE_SYNTH_AND_ALL_PRECEDING_NODES_IN_GROUP
FREE_SYNTH_AND_ALL_SIBLING_NODES
FREE_SYNTH_AND_DEEPFREE_FOLLOWING_NODE
FREE_SYNTH_AND_DEEPFREE_PRECEDING_NODE
FREE_SYNTH_AND_ENCLOSING_GROUP
FREE_SYNTH_AND_FOLLOWING_NODE
FREE_SYNTH_AND_FREEALL_FOLLOWING_NODE
FREE_SYNTH_AND_FREEALL_PRECEDING_NODE
FREE_SYNTH_AND_PAUSE_FOLLOWING_NODE
FREE_SYNTH_AND_PAUSE_PRECEDING_NODE
FREE_SYNTH_AND_PRECEDING_NODE
NOTHING
PAUSE_SYNTH
FREE_SYNTH = 2
FREE_SYNTH_AND_ALL_FOLLOWING_NODES_IN_GROUP = 8
FREE_SYNTH_AND_ALL_PRECEDING_NODES_IN_GROUP = 7
FREE_SYNTH_AND_ALL_SIBLING_NODES = 13
FREE_SYNTH_AND_DEEPFREE_FOLLOWING_NODE = 12
FREE_SYNTH_AND_DEEPFREE_PRECEDING_NODE = 11
FREE_SYNTH_AND_ENCLOSING_GROUP = 14
FREE_SYNTH_AND_FOLLOWING_NODE = 4
FREE_SYNTH_AND_FREEALL_FOLLOWING_NODE = 6
FREE_SYNTH_AND_FREEALL_PRECEDING_NODE = 5
FREE_SYNTH_AND_PAUSE_FOLLOWING_NODE = 10
FREE_SYNTH_AND_PAUSE_PRECEDING_NODE = 9
FREE_SYNTH_AND_PRECEDING_NODE = 3
NOTHING = 0
PAUSE_SYNTH = 1