DoneAction

class supriya.tools.synthdeftools.DoneAction[source]

An enumeration of scsynth UGen “done” actions.

>>> from supriya.tools import synthdeftools
>>> synthdeftools.DoneAction(2)
DoneAction.FREE_SYNTH
>>> synthdeftools.DoneAction.from_expr('pause synth')
DoneAction.PAUSE_SYNTH

Lineage

digraph InheritanceGraph { graph [background=transparent, bgcolor=transparent, color=lightslategrey, fontname=Arial, outputorder=edgesfirst, overlap=prism, penwidth=2, rankdir=LR, root="__builtin__.object", splines=spline, style="dotted, rounded", truecolor=true]; node [colorscheme=pastel19, fontname=Arial, fontsize=12, penwidth=2, style="filled, rounded"]; edge [color=lightsteelblue2, penwidth=2]; subgraph cluster_datastructuretools { graph [label=datastructuretools]; "abjad.tools.datastructuretools.Enumeration.Enumeration" [color=2, group=1, label=Enumeration, shape=box]; } subgraph cluster_builtins { graph [label=builtins]; "builtins.int" [color=1, group=0, label=int, shape=box]; "builtins.object" [color=1, group=0, label=object, shape=box]; "builtins.object" -> "builtins.int"; } subgraph cluster_enum { graph [label=enum]; "enum.Enum" [color=3, group=2, label=Enum, shape=box]; "enum.IntEnum" [color=3, group=2, label=IntEnum, shape=box]; "enum.Enum" -> "enum.IntEnum"; } subgraph cluster_synthdeftools { graph [label=synthdeftools]; "supriya.tools.synthdeftools.DoneAction.DoneAction" [color=black, fontcolor=white, group=3, label=<<B>DoneAction</B>>, shape=box, style="filled, rounded"]; } subgraph cluster_systemtools { graph [label=systemtools]; "supriya.tools.systemtools.Enumeration.Enumeration" [color=5, group=4, label=Enumeration, shape=box]; } "abjad.tools.datastructuretools.Enumeration.Enumeration" -> "supriya.tools.systemtools.Enumeration.Enumeration"; "builtins.int" -> "enum.IntEnum"; "builtins.object" -> "enum.Enum"; "enum.IntEnum" -> "abjad.tools.datastructuretools.Enumeration.Enumeration"; "supriya.tools.systemtools.Enumeration.Enumeration" -> "supriya.tools.synthdeftools.DoneAction.DoneAction"; }

Bases

Enumeration Items

  • 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