Splay

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.system" { graph [label="supriya.system"]; node [color=2]; "supriya.system.SupriyaObject.SupriyaObject" [URL="../api/supriya/ugens/../system/SupriyaObject.html#supriya.system.SupriyaObject.SupriyaObject", label="Supriya\nObject", target=_top]; } subgraph "cluster_supriya.ugens" { graph [label="supriya.ugens"]; node [color=3]; "supriya.ugens.PseudoUGen.PseudoUGen" [URL="../api/supriya/ugens/PseudoUGen.html#supriya.ugens.PseudoUGen.PseudoUGen", label="Pseudo\nUGen", shape=oval, style=bold, target=_top]; "supriya.ugens.Splay.Splay" [URL="../api/supriya/ugens/Splay.html#supriya.ugens.Splay.Splay", color=black, fontcolor=white, label=Splay, shape=oval, style="bold, filled", target=_top]; "supriya.ugens.PseudoUGen.PseudoUGen" -> "supriya.ugens.Splay.Splay"; } "builtins.object" -> "supriya.system.SupriyaObject.SupriyaObject"; "supriya.system.SupriyaObject.SupriyaObject" -> "supriya.ugens.PseudoUGen.PseudoUGen"; }

abstract class supriya.ugens.Splay.Splay[source]

A stereo signal spreader.

>>> source = supriya.ugens.SinOsc.ar(frequency=[333, 444, 555, 666, 777])
>>> splay = supriya.ugens.Splay.ar(source=source)
>>> splay
UGenArray({2})
>>> print(splay)
synthdef:
    name: ...
    ugens:
    -   SinOsc.ar/0:
            frequency: 333.0
            phase: 0.0
    -   Pan2.ar/0:
            level: 1.0
            position: -1.0
            source: SinOsc.ar/0[0]
    -   SinOsc.ar/1:
            frequency: 444.0
            phase: 0.0
    -   Pan2.ar/1:
            level: 1.0
            position: -0.5
            source: SinOsc.ar/1[0]
    -   SinOsc.ar/2:
            frequency: 555.0
            phase: 0.0
    -   Pan2.ar/2:
            level: 1.0
            position: 0.0
            source: SinOsc.ar/2[0]
    -   SinOsc.ar/3:
            frequency: 666.0
            phase: 0.0
    -   Pan2.ar/3:
            level: 1.0
            position: 0.5
            source: SinOsc.ar/3[0]
    -   Sum4.ar/0:
            input_four: Pan2.ar/3[0]
            input_one: Pan2.ar/0[0]
            input_three: Pan2.ar/2[0]
            input_two: Pan2.ar/1[0]
    -   Sum4.ar/1:
            input_four: Pan2.ar/3[1]
            input_one: Pan2.ar/0[1]
            input_three: Pan2.ar/2[1]
            input_two: Pan2.ar/1[1]
    -   SinOsc.ar/4:
            frequency: 777.0
            phase: 0.0
    -   Pan2.ar/4:
            level: 1.0
            position: 1.0
            source: SinOsc.ar/4[0]
    -   BinaryOpUGen(ADDITION).ar/0:
            left: Sum4.ar/0[0]
            right: Pan2.ar/4[0]
    -   BinaryOpUGen(MULTIPLICATION).ar/0:
            left: BinaryOpUGen(ADDITION).ar/0[0]
            right: 0.4472135954999579
    -   BinaryOpUGen(ADDITION).ar/1:
            left: Sum4.ar/1[0]
            right: Pan2.ar/4[1]
    -   BinaryOpUGen(MULTIPLICATION).ar/1:
            left: BinaryOpUGen(ADDITION).ar/1[0]
            right: 0.4472135954999579

Attributes Summary

ar
kr

Special methods

(SupriyaObject).__repr__()

Return repr(self).


Class & static methods

classmethod ar(*, center=0, level=1, normalize=True, source=None, spread=1)[source]
classmethod kr(*, center=0, level=1, normalize=True, source=None, spread=1)[source]