Synth

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.Node.Node" [URL="../api/supriya/nonrealtime/Node.html#supriya.nonrealtime.Node.Node", label="Node", 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", color=black, fontcolor=white, label=Synth, target=_top]; "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.Synth.Synth(session, session_id: int, duration: float = None, synthdef=None, start_offset: float = None, **synth_kwargs)[source]

A non-realtime synth.


Attributes Summary

__str__ Return str(self).
synth_kwargs
synthdef

Special methods

(Node).__getitem__(item: str) → float
(Node).__repr__() → str

Return repr(self).

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

Return str(self).


Methods

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

Class & static methods

static (SessionObject).require_offset(function)

Read-only properties

(Node).duration
(SessionObject).session
(Node).session_id
(Node).start_offset
(Node).stop_offset
synth_kwargs
synthdef