RootNode

class supriya.tools.nonrealtimetools.RootNode(session)[source]

A non-realtime root node.

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_builtins { graph [label=builtins]; "builtins.object" [color=1, group=0, label=object, shape=box]; } subgraph cluster_nonrealtimetools { graph [label=nonrealtimetools]; "supriya.tools.nonrealtimetools.Group.Group" [color=2, group=1, label=Group, shape=box]; "supriya.tools.nonrealtimetools.Node.Node" [color=2, group=1, label="Node", shape=box]; "supriya.tools.nonrealtimetools.RootNode.RootNode" [color=black, fontcolor=white, group=1, label=<<B>RootNode</B>>, shape=box, style="filled, rounded"]; "supriya.tools.nonrealtimetools.SessionObject.SessionObject" [color=2, group=1, label=SessionObject, shape=oval, style=bold]; "supriya.tools.nonrealtimetools.Group.Group" -> "supriya.tools.nonrealtimetools.RootNode.RootNode"; "supriya.tools.nonrealtimetools.Node.Node" -> "supriya.tools.nonrealtimetools.Group.Group"; "supriya.tools.nonrealtimetools.SessionObject.SessionObject" -> "supriya.tools.nonrealtimetools.Node.Node"; } subgraph cluster_systemtools { graph [label=systemtools]; "supriya.tools.systemtools.SupriyaObject.AbstractBase" [color=3, group=2, label=AbstractBase, shape=box]; "supriya.tools.systemtools.SupriyaObject.SupriyaObject" [color=3, group=2, label=SupriyaObject, shape=box]; "supriya.tools.systemtools.SupriyaObject.AbstractBase" -> "supriya.tools.systemtools.SupriyaObject.SupriyaObject"; } "builtins.object" -> "supriya.tools.systemtools.SupriyaObject.AbstractBase"; "supriya.tools.systemtools.SupriyaObject.SupriyaObject" -> "supriya.tools.nonrealtimetools.SessionObject.SessionObject"; }

Attribute summary

add_group([add_action, duration, offset])
add_synth([add_action, duration, synthdef, ...])
delete()
duration
get_parent([offset])
get_parentage([offset])
inscribe(pattern[, duration, offset, seed])
inspect_children([offset])
move_node(node[, add_action, offset])
require_offset(function)
session
session_id
set_duration(new_duration[, clip_children])
split([split_occupiers, split_traversers, ...])
start_offset
stop_offset
__eq__(expr) Is true when ID of expr equals ID of Supriya object.
__format__([format_specification]) Formats Supriya object.
__getitem__(item)
__hash__() Hashes Supriya object.
__repr__()
__setitem__(item, value)
__str__()

Read-only properties

RootNode.duration
(SessionObject).session
(Node).session_id
RootNode.start_offset
RootNode.stop_offset

Methods

(Node).add_group(add_action=None, duration=None, offset=None)
(Node).add_synth(add_action=None, duration=None, synthdef=None, offset=None, **synth_kwargs)
(Node).delete()
(Node).get_parent(offset=None)
(Node).get_parentage(offset=None)
(Group).inscribe(pattern, duration=None, offset=None, seed=None)
(Node).inspect_children(offset=None)
(Node).move_node(node, add_action=None, offset=None)
(Node).set_duration(new_duration, clip_children=False)
(Node).split(split_occupiers=True, split_traversers=True, offset=None)

Class & static methods

(SessionObject).require_offset(function)

Special methods

(SupriyaObject).__eq__(expr)

Is true when ID of expr equals ID of Supriya object. Otherwise false.

Returns boolean.

(SupriyaObject).__format__(format_specification='')

Formats Supriya object.

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

Returns string.

(Node).__getitem__(item)
(SupriyaObject).__hash__()

Hashes Supriya object.

Required to be explicitely re-defined on Python 3 if __eq__ changes.

Returns integer.

(Node).__repr__()
(Node).__setitem__(item, value)
RootNode.__str__()[source]