nodes

class Group(session: supriya.nonrealtime.sessions.Session, session_id: int, duration: Optional[float] = None, start_offset: Optional[float] = None)

Bases: supriya.nonrealtime.nodes.Node

A non-realtime group.

get_children(offset: Optional[float] = None) List[supriya.nonrealtime.nodes.Node]
class Node(session: supriya.nonrealtime.sessions.Session, session_id: int, duration: Optional[float] = None, start_offset: Optional[float] = None)

Bases: supriya.nonrealtime.bases.SessionObject

A non-realtime node.

__getitem__(item: str) Union[float, supriya.nonrealtime.buses.Bus, supriya.nonrealtime.buses.BusGroup]
__setitem__(item: str, value: Union[float, supriya.nonrealtime.buses.Bus, supriya.nonrealtime.buses.BusGroup]) None
add_group(add_action: Optional[Union[supriya.enums.AddAction, SupportsInt, str]] = None, duration: Optional[float] = None, offset: Optional[float] = None) supriya.nonrealtime.nodes.Group
add_synth(add_action: Optional[Union[supriya.enums.AddAction, SupportsInt, str]] = None, duration: Optional[float] = None, synthdef: Optional[supriya.synthdefs.synthdefs.SynthDef] = None, offset: Optional[float] = None, **synth_kwargs) supriya.nonrealtime.nodes.Synth
delete() None
property duration: float
free(offset: float)
get_parent(offset: Optional[float] = None) Optional[supriya.nonrealtime.nodes.Node]
get_parentage(offset: Optional[float] = None) List[supriya.nonrealtime.nodes.Node]
inspect_children(offset: Optional[float] = None) Tuple[Tuple[supriya.nonrealtime.nodes.Node, ...], Tuple[supriya.nonrealtime.nodes.Node, ...], Tuple[supriya.nonrealtime.nodes.Node, ...], Tuple[supriya.nonrealtime.nodes.Node, ...], Tuple[supriya.nonrealtime.nodes.Node, ...]]
move_node(node: supriya.nonrealtime.nodes.Node, add_action: Optional[Union[supriya.enums.AddAction, SupportsInt, str]] = None, offset: Optional[float] = None) supriya.nonrealtime.nodes.Node
property session_id: int
set_duration(new_duration: float, clip_children: bool = False) supriya.nonrealtime.nodes.Node
split(split_occupiers: bool = True, split_traversers: bool = True, offset: Optional[float] = None) List[supriya.nonrealtime.nodes.Node]
property start_offset: float
property stop_offset: float
class RootNode(session: supriya.nonrealtime.sessions.Session)

Bases: supriya.nonrealtime.nodes.Group

A non-realtime root node.

property duration: float
property start_offset: float
property stop_offset: float
class Synth(session, session_id: int, duration: Optional[float] = None, synthdef: Optional[supriya.synthdefs.synthdefs.SynthDef] = None, start_offset: Optional[float] = None, **synth_kwargs)

Bases: supriya.nonrealtime.nodes.Node

A non-realtime synth.

property synth_kwargs: Dict[str, Any]
property synthdef: supriya.synthdefs.synthdefs.SynthDef