Node

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.object" [URL="https://docs.python.org/3.6/library/functions.html#object", label=object, target=_top]; } subgraph "cluster_supriya.nonrealtime" { graph [label="supriya.nonrealtime"]; node [color=2]; "supriya.nonrealtime.Group.Group" [URL="../api/supriya/nonrealtime/Group.html#supriya.nonrealtime.Group.Group", label=Group, target=_top]; "supriya.nonrealtime.Node.Node" [URL="../api/supriya/nonrealtime/Node.html#supriya.nonrealtime.Node.Node", color=black, fontcolor=white, label="Node", target=_top]; "supriya.nonrealtime.RootNode.RootNode" [URL="../api/supriya/nonrealtime/RootNode.html#supriya.nonrealtime.RootNode.RootNode", label="Root\nNode", target=_top]; "supriya.nonrealtime.SessionObject.SessionObject" [URL="../api/supriya/nonrealtime/SessionObject.html#supriya.nonrealtime.SessionObject.SessionObject", label="Session\nObject", shape=oval, style=bold, target=_top]; "supriya.nonrealtime.Synth.Synth" [URL="../api/supriya/nonrealtime/Synth.html#supriya.nonrealtime.Synth.Synth", label=Synth, target=_top]; "supriya.nonrealtime.Group.Group" -> "supriya.nonrealtime.RootNode.RootNode"; "supriya.nonrealtime.Node.Node" -> "supriya.nonrealtime.Group.Group"; "supriya.nonrealtime.Node.Node" -> "supriya.nonrealtime.Synth.Synth"; "supriya.nonrealtime.SessionObject.SessionObject" -> "supriya.nonrealtime.Node.Node"; } subgraph "cluster_supriya.system" { graph [label="supriya.system"]; node [color=3]; "supriya.system.SupriyaObject.SupriyaObject" [URL="../api/supriya/nonrealtime/../system/SupriyaObject.html#supriya.system.SupriyaObject.SupriyaObject", label="Supriya\nObject", target=_top]; } "builtins.object" -> "supriya.system.SupriyaObject.SupriyaObject"; "supriya.system.SupriyaObject.SupriyaObject" -> "supriya.nonrealtime.SessionObject.SessionObject"; }

class supriya.nonrealtime.Node.Node(session, session_id: int, duration: float = None, start_offset: float = None)[source]

A non-realtime node.


Attributes Summary

__getitem__
__repr__ Return repr(self).
__setitem__
add_group
add_synth
delete
duration
get_parent
get_parentage
inspect_children
move_node
session_id
set_duration
split
start_offset
stop_offset

Special methods

__getitem__(item: str) → float[source]
__repr__() → str[source]

Return repr(self).

__setitem__(item: str, value: Union[float, supriya.nonrealtime.Bus, supriya.nonrealtime.BusGroup]) → None[source]

Methods

add_group(add_action: int = None, duration: float = None, offset: float = None) → supriya.nonrealtime.Group[source]
add_synth(add_action: int = None, duration: float = None, synthdef=None, offset: float = None, **synth_kwargs) → supriya.nonrealtime.Synth[source]
delete() → None[source]
get_parent(offset: float = None) → Optional[Node][source]
get_parentage(offset: float = None) → List[Node][source]
inspect_children(offset: float = None) → Tuple[Tuple[Node, ...], Tuple[Node, ...], Tuple[Node, ...], Tuple[Node, ...], Tuple[Node, ...]][source]
move_node(node: Node, add_action: int = None, offset: float = None) → Node[source]
set_duration(new_duration: float, clip_children: bool = False) → supriya.nonrealtime.Node.Node[source]
split(split_occupiers: bool = True, split_traversers: bool = True, offset: float = None) → List[Node][source]

Class & static methods

static (SessionObject).require_offset(function)

Read-only properties

duration
(SessionObject).session
session_id
start_offset
stop_offset