SignalRange

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.int" [URL="https://docs.python.org/3.6/library/functions.html#int", label=int, target=_top]; "builtins.object" [URL="https://docs.python.org/3.6/library/functions.html#object", label=object, target=_top]; "builtins.object" -> "builtins.int"; } subgraph cluster_enum { graph [label=enum]; node [color=2]; "enum.Enum" [URL="https://docs.python.org/3.6/library/enum.html#enum.Enum", label=Enum, target=_top]; "enum.IntEnum" [URL="https://docs.python.org/3.6/library/enum.html#enum.IntEnum", label="Int\nEnum", target=_top]; "enum.Enum" -> "enum.IntEnum"; } subgraph "cluster_supriya.synthdefs" { graph [label="supriya.synthdefs"]; node [color=3]; "supriya.synthdefs.SignalRange.SignalRange" [URL="../api/supriya/synthdefs/SignalRange.html#supriya.synthdefs.SignalRange.SignalRange", color=black, fontcolor=white, label="Signal\nRange", target=_top]; } subgraph "cluster_uqbar.enums" { graph [label="uqbar.enums"]; node [color=4]; "uqbar.enums.IntEnumeration" [label="Int\nEnumeration"]; } "builtins.int" -> "enum.IntEnum"; "builtins.object" -> "enum.Enum"; "enum.IntEnum" -> "uqbar.enums.IntEnumeration"; "uqbar.enums.IntEnumeration" -> "supriya.synthdefs.SignalRange.SignalRange"; }

class supriya.synthdefs.SignalRange.SignalRange[source]

An enumeration of scsynth UGen signal ranges.

>>> import supriya.synthdefs
>>> supriya.synthdefs.SignalRange.UNIPOLAR
SignalRange.UNIPOLAR
>>> supriya.synthdefs.SignalRange.from_expr('bipolar')
SignalRange.BIPOLAR

Attributes Summary

BIPOLAR
UNIPOLAR
BIPOLAR = 1
UNIPOLAR = 0