diff --git a/supriya/ugens/basic.py b/supriya/ugens/basic.py index aa7d8e606..cede9e769 100644 --- a/supriya/ugens/basic.py +++ b/supriya/ugens/basic.py @@ -334,7 +334,7 @@ class MulAdd(UGen): ... source=source, ... ) >>> mul_add - MulAdd.ar()[0] + """ ### CLASS VARIABLES ### @@ -415,7 +415,7 @@ class Sum3(UGen): ... input_two=input_two, ... input_three=input_three, ... ) - Sum3.ar()[0] + """ input_one = param() @@ -473,7 +473,7 @@ class Sum4(UGen): ... input_three=input_three, ... input_four=input_four, ... ) - Sum4.ar()[0] + """ input_one = param() diff --git a/supriya/ugens/beq.py b/supriya/ugens/beq.py index 5d57736a8..d74f82d2a 100644 --- a/supriya/ugens/beq.py +++ b/supriya/ugens/beq.py @@ -15,7 +15,7 @@ class BAllPass(UGen): ... source=source, ... ) >>> ball_pass - BAllPass.ar()[0] + """ source = param() @@ -37,7 +37,7 @@ class BBandPass(UGen): ... source=source, ... ) >>> bband_pass - BBandPass.ar()[0] + """ source = param() @@ -59,7 +59,7 @@ class BBandStop(UGen): ... source=source, ... ) >>> bband_stop - BBandStop.ar()[0] + """ source = param() @@ -82,7 +82,7 @@ class BHiCut(UGen): ... source=source, ... ) >>> bhi_cut - BHiCut.ar()[0] + """ source = param() @@ -105,7 +105,7 @@ class BHiPass(UGen): ... source=source, ... ) >>> bhi_pass - BHiPass.ar()[0] + """ source = param() @@ -128,7 +128,7 @@ class BHiShelf(UGen): ... source=source, ... ) >>> bhi_shelf - BHiShelf.ar()[0] + """ source = param() @@ -152,7 +152,7 @@ class BLowCut(UGen): ... source=source, ... ) >>> blow_cut - BLowCut.ar()[0] + """ source = param() @@ -175,7 +175,7 @@ class BLowPass(UGen): ... source=source, ... ) >>> blow_pass - BLowPass.ar()[0] + """ source = param() @@ -198,7 +198,7 @@ class BLowShelf(UGen): ... source=source, ... ) >>> blow_shelf - BLowShelf.ar()[0] + """ source = param() @@ -222,7 +222,7 @@ class BPeakEQ(UGen): ... source=source, ... ) >>> bpeak_eq - BPeakEQ.ar()[0] + """ source = param() diff --git a/supriya/ugens/bufio.py b/supriya/ugens/bufio.py index 66dfba4f7..2411b0fa3 100644 --- a/supriya/ugens/bufio.py +++ b/supriya/ugens/bufio.py @@ -25,7 +25,7 @@ class BufRd(UGen): ... phase=phase, ... ) >>> buf_rd - UGenVector({2}) + , ])> """ buffer_id = param() @@ -55,7 +55,7 @@ class BufWr(UGen): ... source=source, ... ) >>> buf_wr - BufWr.ar()[0] + """ buffer_id = param() @@ -73,7 +73,7 @@ class ClearBuf(UGen): ... buffer_id=23, ... ) >>> clear_buf - ClearBuf.ir()[0] + """ buffer_id = param() @@ -95,7 +95,7 @@ class LocalBuf(UGen): ... frame_count=1, ... ) >>> local_buf - LocalBuf.ir()[0] + LocalBuf creates a ``MaxLocalBufs`` UGen implicitly during SynthDef compilation: @@ -115,12 +115,12 @@ class LocalBuf(UGen): >>> for ugen in synthdef.ugens: ... ugen ... - MaxLocalBufs.ir() - LocalBuf.ir() - PinkNoise.ar() - FFT.kr() - IFFT.ar() - Out.ar() + + + + + + """ channel_count = param(1) @@ -143,7 +143,7 @@ class MaxLocalBufs(UGen): >>> max_local_bufs = supriya.ugens.MaxLocalBufs.ir(maximum=1) >>> max_local_bufs - MaxLocalBufs.ir()[0] + """ maximum = param(0) @@ -187,7 +187,7 @@ class PlayBuf(UGen): ... trigger=1, ... ) >>> play_buf - UGenVector({2}) + , ])> """ buffer_id = param() @@ -219,7 +219,7 @@ class RecordBuf(UGen): ... trigger=1, ... ) >>> record_buf - RecordBuf.ar()[0] + """ buffer_id = param() diff --git a/supriya/ugens/chaos.py b/supriya/ugens/chaos.py index 849a3c868..d0daa857b 100644 --- a/supriya/ugens/chaos.py +++ b/supriya/ugens/chaos.py @@ -15,7 +15,7 @@ class CuspL(UGen): ... xi=0, ... ) >>> cusp_l - CuspL.ar()[0] + """ frequency = param(22050) @@ -38,7 +38,7 @@ class CuspN(UGen): ... xi=0, ... ) >>> cusp_n - CuspN.ar()[0] + """ frequency = param(22050) @@ -64,7 +64,7 @@ class FBSineC(UGen): ... yi=0.1, ... ) >>> fbsine_c - FBSineC.ar()[0] + """ frequency = param(22050) @@ -93,7 +93,7 @@ class FBSineL(UGen): ... yi=0.1, ... ) >>> fbsine_l - FBSineL.ar()[0] + """ frequency = param(22050) @@ -122,7 +122,7 @@ class FBSineN(UGen): ... yi=0.1, ... ) >>> fbsine_n - FBSineN.ar()[0] + """ frequency = param(22050) @@ -147,7 +147,7 @@ class GbmanL(UGen): ... yi=2.1, ... ) >>> gbman_l - GbmanL.ar()[0] + """ frequency = param(22050) @@ -168,7 +168,7 @@ class GbmanN(UGen): ... yi=2.1, ... ) >>> gbman_n - GbmanN.ar()[0] + """ frequency = param(22050) @@ -191,7 +191,7 @@ class HenonC(UGen): ... x_1=0, ... ) >>> henon_c - HenonC.ar()[0] + """ frequency = param(22050) @@ -216,7 +216,7 @@ class HenonL(UGen): ... x_1=0, ... ) >>> henon_l - HenonL.ar()[0] + """ frequency = param(22050) @@ -241,7 +241,7 @@ class HenonN(UGen): ... x_1=0, ... ) >>> henon_n - HenonN.ar()[0] + """ frequency = param(22050) @@ -268,7 +268,7 @@ class LatoocarfianC(UGen): ... yi=0.5, ... ) >>> latoocarfian_c - LatoocarfianC.ar()[0] + """ frequency = param(22050) @@ -297,7 +297,7 @@ class LatoocarfianL(UGen): ... yi=0.5, ... ) >>> latoocarfian_l - LatoocarfianL.ar()[0] + """ frequency = param(22050) @@ -326,7 +326,7 @@ class LatoocarfianN(UGen): ... yi=0.5, ... ) >>> latoocarfian_n - LatoocarfianN.ar()[0] + """ frequency = param(22050) @@ -353,7 +353,7 @@ class LinCongC(UGen): ... xi=0, ... ) >>> lin_cong_c - LinCongC.ar()[0] + """ frequency = param(22050) @@ -378,7 +378,7 @@ class LinCongL(UGen): ... xi=0, ... ) >>> lin_cong_l - LinCongL.ar()[0] + """ frequency = param(22050) @@ -403,7 +403,7 @@ class LinCongN(UGen): ... xi=0, ... ) >>> lin_cong_n - LinCongN.ar()[0] + """ frequency = param(22050) @@ -431,7 +431,7 @@ class LorenzL(UGen): ... zi=0, ... ) >>> lorenz_l - LorenzL.ar()[0] + """ frequency = param(22050) @@ -459,7 +459,7 @@ class QuadC(UGen): ... xi=0, ... ) >>> quad_c - QuadC.ar()[0] + """ frequency = param(22050) @@ -484,7 +484,7 @@ class QuadL(UGen): ... xi=0, ... ) >>> quad_l - QuadL.ar()[0] + """ frequency = param(22050) @@ -509,7 +509,7 @@ class QuadN(UGen): ... xi=0, ... ) >>> quad_n - QuadN.ar()[0] + """ frequency = param(22050) @@ -533,7 +533,7 @@ class StandardL(UGen): ... yi=0, ... ) >>> standard_l - StandardL.ar()[0] + """ frequency = param(22050) @@ -556,7 +556,7 @@ class StandardN(UGen): ... yi=0, ... ) >>> standard_n - StandardN.ar()[0] + """ frequency = param(22050) diff --git a/supriya/ugens/convolution.py b/supriya/ugens/convolution.py index 8509b2e03..907c40112 100644 --- a/supriya/ugens/convolution.py +++ b/supriya/ugens/convolution.py @@ -19,7 +19,7 @@ class Convolution(UGen): ... source=source, ... ) >>> convolution - Convolution.ar()[0] + """ source = param() @@ -46,7 +46,7 @@ class Convolution2(UGen): ... trigger=0, ... ) >>> convolution_2 - Convolution2.ar()[0] + """ source = param() @@ -75,7 +75,7 @@ class Convolution2L(UGen): ... trigger=0, ... ) >>> convolution_2_l - Convolution2L.ar()[0] + """ source = param() @@ -104,7 +104,7 @@ class Convolution3(UGen): ... trigger=0, ... ) >>> convolution_3 - Convolution3.ar()[0] + """ source = param() diff --git a/supriya/ugens/core.py b/supriya/ugens/core.py index 282413840..b442b9846 100644 --- a/supriya/ugens/core.py +++ b/supriya/ugens/core.py @@ -358,7 +358,7 @@ def __abs__(self) -> "UGenOperable": >>> ugen_graph = supriya.ugens.WhiteNoise.ar() >>> result = abs(ugen_graph) >>> result - UnaryOpUGen.ar()[0] + :: @@ -385,7 +385,7 @@ def __abs__(self) -> "UGenOperable": ... ) >>> result = abs(ugen_graph) >>> result - UGenVector({3}) + , , ])> :: @@ -431,7 +431,7 @@ def __add__(self, expr: "UGenOperand") -> "UGenOperable": >>> expr = supriya.ugens.SinOsc.ar() >>> result = ugen_graph + expr >>> result - BinaryOpUGen.ar()[0] + :: @@ -463,7 +463,7 @@ def __add__(self, expr: "UGenOperand") -> "UGenOperable": ... ) >>> result = ugen_graph + expr >>> result - UGenVector({3}) + , , ])> :: @@ -507,7 +507,7 @@ def __add__(self, expr: "UGenOperand") -> "UGenOperable": >>> expr = 4 >>> result = ugen_graph + expr >>> result - BinaryOpUGen.ar()[0] + :: @@ -541,7 +541,7 @@ def __and__(self, expr: "UGenOperand") -> "UGenOperable": >>> expr = supriya.ugens.SinOsc.ar() >>> result = ugen_graph & expr >>> result - BinaryOpUGen.ar()[0] + :: @@ -577,7 +577,7 @@ def __div__(self, expr: "UGenOperand") -> "UGenOperable": >>> expr = supriya.ugens.SinOsc.ar() >>> result = ugen_graph / expr >>> result - BinaryOpUGen.ar()[0] + :: @@ -609,7 +609,7 @@ def __div__(self, expr: "UGenOperand") -> "UGenOperable": ... ) >>> result = ugen_graph / expr >>> result - UGenVector({3}) + , , ])> :: @@ -653,7 +653,7 @@ def __div__(self, expr: "UGenOperand") -> "UGenOperable": >>> expr = 4 >>> result = ugen_graph / expr >>> result - BinaryOpUGen.ar()[0] + :: @@ -701,7 +701,7 @@ def __ge__(self, expr: "UGenOperand") -> "UGenOperable": >>> expr = supriya.ugens.SinOsc.ar() >>> result = ugen_graph >= expr >>> result - BinaryOpUGen.ar()[0] + :: @@ -733,7 +733,7 @@ def __ge__(self, expr: "UGenOperand") -> "UGenOperable": ... ) >>> result = ugen_graph >= expr >>> result - UGenVector({3}) + , , ])> :: @@ -777,7 +777,7 @@ def __ge__(self, expr: "UGenOperand") -> "UGenOperable": >>> expr = 4 >>> result = ugen_graph >= expr >>> result - BinaryOpUGen.ar()[0] + :: @@ -815,7 +815,7 @@ def __gt__(self, expr: "UGenOperand") -> "UGenOperable": >>> expr = supriya.ugens.SinOsc.ar() >>> result = ugen_graph > expr >>> result - BinaryOpUGen.ar()[0] + :: @@ -847,7 +847,7 @@ def __gt__(self, expr: "UGenOperand") -> "UGenOperable": ... ) >>> result = ugen_graph > expr >>> result - UGenVector({3}) + , , ])> :: @@ -891,7 +891,7 @@ def __gt__(self, expr: "UGenOperand") -> "UGenOperable": >>> expr = 4 >>> result = ugen_graph > expr >>> result - BinaryOpUGen.ar()[0] + :: @@ -927,7 +927,7 @@ def __le__(self, expr: "UGenOperand") -> "UGenOperable": >>> expr = supriya.ugens.SinOsc.ar() >>> result = ugen_graph <= expr >>> result - BinaryOpUGen.ar()[0] + :: @@ -959,7 +959,7 @@ def __le__(self, expr: "UGenOperand") -> "UGenOperable": ... ) >>> result = ugen_graph <= expr >>> result - UGenVector({3}) + , , ])> :: @@ -1003,7 +1003,7 @@ def __le__(self, expr: "UGenOperand") -> "UGenOperable": >>> expr = 4 >>> result = ugen_graph <= expr >>> result - BinaryOpUGen.ar()[0] + :: @@ -1044,7 +1044,7 @@ def __lt__(self, expr: "UGenOperand") -> "UGenOperable": >>> expr = supriya.ugens.SinOsc.ar() >>> result = ugen_graph < expr >>> result - BinaryOpUGen.ar()[0] + :: @@ -1076,7 +1076,7 @@ def __lt__(self, expr: "UGenOperand") -> "UGenOperable": ... ) >>> result = ugen_graph < expr >>> result - UGenVector({3}) + , , ])> :: @@ -1120,7 +1120,7 @@ def __lt__(self, expr: "UGenOperand") -> "UGenOperable": >>> expr = 4 >>> result = ugen_graph < expr >>> result - BinaryOpUGen.ar()[0] + :: @@ -1156,7 +1156,7 @@ def __mod__(self, expr: "UGenOperand") -> "UGenOperable": >>> expr = supriya.ugens.SinOsc.ar() >>> result = ugen_graph % expr >>> result - BinaryOpUGen.ar()[0] + :: @@ -1188,7 +1188,7 @@ def __mod__(self, expr: "UGenOperand") -> "UGenOperable": ... ) >>> result = ugen_graph % expr >>> result - UGenVector({3}) + , , ])> :: @@ -1232,7 +1232,7 @@ def __mod__(self, expr: "UGenOperand") -> "UGenOperable": >>> expr = 4 >>> result = ugen_graph % expr >>> result - BinaryOpUGen.ar()[0] + :: @@ -1268,7 +1268,7 @@ def __mul__(self, expr: "UGenOperand") -> "UGenOperable": >>> expr = supriya.ugens.SinOsc.ar() >>> result = ugen_graph * expr >>> result - BinaryOpUGen.ar()[0] + :: @@ -1300,7 +1300,7 @@ def __mul__(self, expr: "UGenOperand") -> "UGenOperable": ... ) >>> result = ugen_graph * expr >>> result - UGenVector({3}) + , , ])> :: @@ -1344,7 +1344,7 @@ def __mul__(self, expr: "UGenOperand") -> "UGenOperable": >>> expr = 4 >>> result = ugen_graph * expr >>> result - BinaryOpUGen.ar()[0] + :: @@ -1381,7 +1381,7 @@ def __neg__(self) -> "UGenOperable": >>> ugen_graph = supriya.ugens.WhiteNoise.ar() >>> result = -ugen_graph >>> result - UnaryOpUGen.ar()[0] + :: @@ -1408,7 +1408,7 @@ def __neg__(self) -> "UGenOperable": ... ) >>> result = -ugen_graph >>> result - UGenVector({3}) + , , ])> :: @@ -1452,7 +1452,7 @@ def __or__(self, expr: "UGenOperand") -> "UGenOperable": >>> expr = supriya.ugens.SinOsc.ar() >>> result = ugen_graph | expr >>> result - BinaryOpUGen.ar()[0] + :: @@ -1488,7 +1488,7 @@ def __pow__(self, expr: "UGenOperand") -> "UGenOperable": >>> expr = supriya.ugens.SinOsc.ar() >>> result = ugen_graph ** expr >>> result - BinaryOpUGen.ar()[0] + :: @@ -1520,7 +1520,7 @@ def __pow__(self, expr: "UGenOperand") -> "UGenOperable": ... ) >>> result = ugen_graph ** expr >>> result - UGenVector({3}) + , , ])> :: @@ -1564,7 +1564,7 @@ def __pow__(self, expr: "UGenOperand") -> "UGenOperable": >>> expr = 4 >>> result = ugen_graph ** expr >>> result - BinaryOpUGen.ar()[0] + :: @@ -1600,7 +1600,7 @@ def __rpow__(self, expr: "UGenOperand") -> "UGenOperable": >>> ugen_graph = supriya.ugens.SinOsc.ar() >>> result = expr ** ugen_graph >>> result - BinaryOpUGen.ar()[0] + :: @@ -1631,7 +1631,7 @@ def __rpow__(self, expr: "UGenOperand") -> "UGenOperable": ... ) >>> result = expr ** ugen_graph >>> result - UGenVector({3}) + , , ])> :: @@ -1680,7 +1680,7 @@ def __radd__(self, expr: "UGenOperand") -> "UGenOperable": >>> ugen_graph = supriya.ugens.SinOsc.ar() >>> result = expr + ugen_graph >>> result - BinaryOpUGen.ar()[0] + :: @@ -1711,7 +1711,7 @@ def __radd__(self, expr: "UGenOperand") -> "UGenOperable": ... ) >>> result = expr + ugen_graph >>> result - UGenVector({3}) + , , ])> :: @@ -1760,7 +1760,7 @@ def __rdiv__(self, expr: "UGenOperand") -> "UGenOperable": >>> ugen_graph = supriya.ugens.SinOsc.ar() >>> result = expr / ugen_graph >>> result - BinaryOpUGen.ar()[0] + :: @@ -1791,7 +1791,7 @@ def __rdiv__(self, expr: "UGenOperand") -> "UGenOperable": ... ) >>> result = expr / ugen_graph >>> result - UGenVector({3}) + , , ])> :: @@ -1842,7 +1842,7 @@ def __rmod__(self, expr: "UGenOperand") -> "UGenOperable": >>> ugen_graph = supriya.ugens.SinOsc.ar() >>> result = expr % ugen_graph >>> result - BinaryOpUGen.ar()[0] + :: @@ -1873,7 +1873,7 @@ def __rmod__(self, expr: "UGenOperand") -> "UGenOperable": ... ) >>> result = expr % ugen_graph >>> result - UGenVector({3}) + , , ])> :: @@ -1924,7 +1924,7 @@ def __rmul__(self, expr: "UGenOperand") -> "UGenOperable": >>> ugen_graph = supriya.ugens.SinOsc.ar() >>> result = expr * ugen_graph >>> result - BinaryOpUGen.ar()[0] + :: @@ -1955,7 +1955,7 @@ def __rmul__(self, expr: "UGenOperand") -> "UGenOperable": ... ) >>> result = expr * ugen_graph >>> result - UGenVector({3}) + , , ])> :: @@ -2006,7 +2006,7 @@ def __rsub__(self, expr: "UGenOperand") -> "UGenOperable": >>> ugen_graph = supriya.ugens.SinOsc.ar() >>> result = expr - ugen_graph >>> result - BinaryOpUGen.ar()[0] + :: @@ -2037,7 +2037,7 @@ def __rsub__(self, expr: "UGenOperand") -> "UGenOperable": ... ) >>> result = expr - ugen_graph >>> result - UGenVector({3}) + , , ])> :: @@ -2128,7 +2128,7 @@ def __sub__(self, expr: "UGenOperand") -> "UGenOperable": >>> expr = supriya.ugens.SinOsc.ar() >>> result = ugen_graph - expr >>> result - BinaryOpUGen.ar()[0] + :: @@ -2160,7 +2160,7 @@ def __sub__(self, expr: "UGenOperand") -> "UGenOperable": ... ) >>> result = ugen_graph - expr >>> result - UGenVector({3}) + , , ])> :: @@ -2204,7 +2204,7 @@ def __sub__(self, expr: "UGenOperand") -> "UGenOperable": >>> expr = 4 >>> result = ugen_graph - expr >>> result - BinaryOpUGen.ar()[0] + :: @@ -2238,7 +2238,7 @@ def __xor__(self, expr: "UGenOperand") -> "UGenOperable": >>> expr = supriya.ugens.SinOsc.ar() >>> result = ugen_graph ^ expr >>> result - BinaryOpUGen.ar()[0] + :: @@ -3601,7 +3601,7 @@ def __len__(self): return len(self.ugens) def __repr__(self): - return "{}({{{}}})".format(type(self).__name__, len(self)) + return f"<{type(self).__name__}([{', '.join(repr(x) for x in self)}])>" ### PUBLIC PROPERTIES ### @@ -3643,7 +3643,7 @@ def __len__(self) -> int: return 1 def __repr__(self) -> str: - return "{!r}[{}]".format(self.source, self.output_index) + return repr(self.source).replace(">", f"[{self.output_index}]>") ### PRIVATE METHODS ### @@ -3771,7 +3771,7 @@ def __getitem__(self, i): >>> ugen = supriya.ugens.SinOsc.ar().source >>> ugen[0] - SinOsc.ar()[0] + Returns output proxy. """ @@ -3793,23 +3793,23 @@ def __repr__(self): >>> ugen = supriya.ugens.SinOsc.ar().source >>> repr(ugen) - 'SinOsc.ar()' + '' :: >>> ugen = supriya.ugens.WhiteNoise.kr().source >>> repr(ugen) - 'WhiteNoise.kr()' + '' :: >>> ugen = supriya.ugens.Rand.ir().source >>> repr(ugen) - 'Rand.ir()' + '' Returns string. """ - return f"{type(self).__name__}.{self.calculation_rate.token}()" + return f"<{type(self).__name__}.{self.calculation_rate.token}()>" ### PRIVATE METHODS ### @@ -4080,7 +4080,7 @@ def inputs(self): >>> for input_ in ugen.inputs: ... input_ ... - WhiteNoise.kr()[0] + 0.5 Returns tuple. @@ -4182,7 +4182,7 @@ class UnaryOpUGen(UGen): >>> ugen = supriya.ugens.SinOsc.ar() >>> unary_op_ugen = abs(ugen) >>> unary_op_ugen - UnaryOpUGen.ar()[0] + :: @@ -4190,11 +4190,10 @@ class UnaryOpUGen(UGen): UnaryOperator.ABSOLUTE_VALUE """ - ### CLASS VARIABLES ### - source = param() - ### PUBLIC PROPERTIES ### + def __repr__(self) -> str: + return f"<{type(self).__name__}.{self.calculation_rate.token}({self.operator.name})>" @property def operator(self) -> UnaryOperator: @@ -4224,7 +4223,7 @@ class BinaryOpUGen(UGen): >>> right_operand = supriya.ugens.WhiteNoise.kr() >>> binary_op_ugen = left_operand * right_operand >>> binary_op_ugen - BinaryOpUGen.ar()[0] + :: @@ -4250,6 +4249,9 @@ def __init__( special_index=special_index, ) + def __repr__(self) -> str: + return f"<{type(self).__name__}.{self.calculation_rate.token}({self.operator.name})>" + @classmethod def _new_single( cls, calculation_rate=None, special_index=None, left=None, right=None, **kwargs diff --git a/supriya/ugens/delay.py b/supriya/ugens/delay.py index 68056bed7..efb1a950a 100644 --- a/supriya/ugens/delay.py +++ b/supriya/ugens/delay.py @@ -11,7 +11,7 @@ class AllpassC(UGen): >>> source = supriya.ugens.In.ar(bus=0) >>> allpass_c = supriya.ugens.AllpassC.ar(source=source) >>> allpass_c - AllpassC.ar()[0] + """ source = param() @@ -30,7 +30,7 @@ class AllpassL(UGen): >>> source = supriya.ugens.In.ar(bus=0) >>> allpass_l = supriya.ugens.AllpassL.ar(source=source) >>> allpass_l - AllpassL.ar()[0] + """ source = param() @@ -49,7 +49,7 @@ class AllpassN(UGen): >>> source = supriya.ugens.In.ar(bus=0) >>> allpass_n = supriya.ugens.AllpassN.ar(source=source) >>> allpass_n - AllpassN.ar()[0] + """ source = param() @@ -71,7 +71,7 @@ class BufAllpassC(UGen): ... buffer_id=buffer_id, ... source=source, ... ) - BufAllpassC.ar()[0] + """ buffer_id = param() @@ -94,7 +94,7 @@ class BufAllpassL(UGen): ... buffer_id=buffer_id, ... source=source, ... ) - BufAllpassL.ar()[0] + """ buffer_id = param() @@ -117,7 +117,7 @@ class BufAllpassN(UGen): ... buffer_id=buffer_id, ... source=source, ... ) - BufAllpassN.ar()[0] + """ buffer_id = param() @@ -140,7 +140,7 @@ class BufCombC(UGen): ... buffer_id=buffer_id, ... source=source, ... ) - BufCombC.ar()[0] + """ buffer_id = param() @@ -163,7 +163,7 @@ class BufCombL(UGen): ... buffer_id=buffer_id, ... source=source, ... ) - BufCombL.ar()[0] + """ buffer_id = param() @@ -186,7 +186,7 @@ class BufCombN(UGen): ... buffer_id=buffer_id, ... source=source, ... ) - BufCombN.ar()[0] + """ buffer_id = param() @@ -209,7 +209,7 @@ class BufDelayC(UGen): ... buffer_id=buffer_id, ... source=source, ... ) - BufDelayC.ar()[0] + """ buffer_id = param() @@ -231,7 +231,7 @@ class BufDelayL(UGen): ... buffer_id=buffer_id, ... source=source, ... ) - BufDelayL.ar()[0] + """ buffer_id = param() @@ -253,7 +253,7 @@ class BufDelayN(UGen): ... buffer_id=buffer_id, ... source=source, ... ) - BufDelayN.ar()[0] + """ buffer_id = param() @@ -271,7 +271,7 @@ class CombC(UGen): >>> source = supriya.ugens.In.ar(bus=0) >>> supriya.ugens.CombC.ar(source=source) - CombC.ar()[0] + """ source = param() @@ -289,7 +289,7 @@ class CombL(UGen): >>> source = supriya.ugens.In.ar(bus=0) >>> supriya.ugens.CombL.ar(source=source) - CombL.ar()[0] + """ source = param() @@ -307,7 +307,7 @@ class CombN(UGen): >>> source = supriya.ugens.In.ar(bus=0) >>> supriya.ugens.CombN.ar(source=source) - CombN.ar()[0] + """ source = param() @@ -333,7 +333,7 @@ class DelTapRd(UGen): :: >>> tapin - DelTapWr.ar()[0] + :: @@ -347,7 +347,7 @@ class DelTapRd(UGen): :: >>> tapout - DelTapRd.ar()[0] + """ buffer_id = param() @@ -373,7 +373,7 @@ class DelTapWr(UGen): :: >>> tapin - DelTapWr.ar()[0] + :: @@ -387,7 +387,7 @@ class DelTapWr(UGen): :: >>> tapout - DelTapRd.ar()[0] + """ buffer_id = param() @@ -403,7 +403,7 @@ class DelayC(UGen): >>> source = supriya.ugens.In.ar(bus=0) >>> supriya.ugens.DelayC.ar(source=source) - DelayC.ar()[0] + """ source = param() @@ -420,7 +420,7 @@ class DelayL(UGen): >>> source = supriya.ugens.In.ar(bus=0) >>> supriya.ugens.DelayL.ar(source=source) - DelayL.ar()[0] + """ source = param() @@ -437,7 +437,7 @@ class DelayN(UGen): >>> source = supriya.ugens.In.ar(bus=0) >>> supriya.ugens.DelayN.ar(source=source) - DelayN.ar()[0] + """ source = param() @@ -454,7 +454,7 @@ class Delay1(UGen): >>> source = supriya.ugens.In.ar(bus=0) >>> supriya.ugens.Delay1.ar(source=source) - Delay1.ar()[0] + """ source = param() @@ -469,7 +469,7 @@ class Delay2(UGen): >>> source = supriya.ugens.In.ar(bus=0) >>> supriya.ugens.Delay2.ar(source=source) - Delay2.ar()[0] + """ source = param() diff --git a/supriya/ugens/demand.py b/supriya/ugens/demand.py index e98d748ae..860b291e5 100644 --- a/supriya/ugens/demand.py +++ b/supriya/ugens/demand.py @@ -19,7 +19,7 @@ class Dbrown(UGen): ... step=0.01, ... ) >>> dbrown - Dbrown.dr()[0] + """ minimum = param(0.0) @@ -41,7 +41,7 @@ class Dbufrd(UGen): ... phase=0, ... ) >>> dbufrd - Dbufrd.dr()[0] + """ buffer_id = param(0) @@ -63,7 +63,7 @@ class Dbufwr(UGen): ... phase=0, ... ) >>> dbufwr - Dbufwr.dr()[0] + """ source = param(0.0) @@ -90,7 +90,7 @@ class Demand(UGen): ... trigger=trigger, ... ) >>> demand - UGenVector({2}) + , ])> """ trigger = param(0) @@ -129,7 +129,7 @@ class DemandEnvGen(UGen): ... time_scale=1, ... ) >>> demand_env_gen - DemandEnvGen.ar()[0] + """ level = param() @@ -157,7 +157,7 @@ class Dgeom(UGen): ... start=1, ... ) >>> dgeom - Dgeom.dr()[0] + """ start = param(1) @@ -179,7 +179,7 @@ class Dibrown(UGen): ... step=0.01, ... ) >>> dibrown - Dibrown.dr()[0] + """ minimum = param(0) @@ -201,7 +201,7 @@ class Diwhite(UGen): ... minimum=0, ... ) >>> diwhite - Diwhite.dr()[0] + """ minimum = param(0) @@ -222,7 +222,7 @@ class Drand(UGen): ... sequence=sequence, ... ) >>> drand - Drand.dr()[0] + """ repeats = param(1) @@ -242,7 +242,7 @@ class Dreset(UGen): ... source=source, ... ) >>> dreset - Dreset.dr()[0] + """ source = param() @@ -262,7 +262,7 @@ class Dseq(UGen): ... sequence=sequence, ... ) >>> dseq - Dseq.dr()[0] + """ repeats = param(1) @@ -282,7 +282,7 @@ class Dser(UGen): ... sequence=sequence, ... ) >>> dser - Dser.dr()[0] + """ repeats = param(1) @@ -302,7 +302,7 @@ class Dseries(UGen): ... step=1, ... ) >>> dseries - Dseries.dr()[0] + """ length = param(float("inf")) @@ -323,7 +323,7 @@ class Dshuf(UGen): ... sequence=sequence, ... ) >>> dshuf - Dshuf.dr()[0] + """ repeats = param(1) @@ -343,7 +343,7 @@ class Dstutter(UGen): ... source=source, ... ) >>> dstutter - Dstutter.dr()[0] + """ n = param(2) @@ -364,7 +364,7 @@ class Dswitch(UGen): ... sequence=sequence, ... ) >>> dswitch - Dswitch.dr()[0] + """ index = param() @@ -385,7 +385,7 @@ class Dswitch1(UGen): ... sequence=sequence, ... ) >>> dswitch_1 - Dswitch1.dr()[0] + """ index = param() @@ -406,7 +406,7 @@ class Dunique(UGen): ... source=source, ... ) >>> dunique - Dunique.dr()[0] + """ source = param() @@ -434,7 +434,7 @@ class Duty(UGen): ... ), ... ) >>> duty - Duty.kr()[0] + """ duration = param(1.0) @@ -456,7 +456,7 @@ class Dwhite(UGen): ... minimum=0, ... ) >>> dwhite - Dwhite.dr()[0] + """ minimum = param(0.0) @@ -479,7 +479,7 @@ class Dwrand(UGen): ... weights=weights, ... ) >>> dwrand - Dwrand.dr()[0] + """ repeats = param(1) @@ -519,7 +519,7 @@ class Dxrand(UGen): ... sequence=sequence, ... ) >>> dxrand - Dxrand.dr()[0] + """ repeats = param(1) diff --git a/supriya/ugens/diskio.py b/supriya/ugens/diskio.py index 078ee6b48..1ab215be9 100644 --- a/supriya/ugens/diskio.py +++ b/supriya/ugens/diskio.py @@ -15,7 +15,7 @@ class DiskIn(UGen): ... loop=0, ... ) >>> disk_in - UGenVector({2}) + , ])> """ buffer_id = param() @@ -36,7 +36,7 @@ class DiskOut(UGen): ... source=source, ... ) >>> disk_out - DiskOut.ar()[0] + """ buffer_id = param() @@ -59,7 +59,7 @@ class VDiskIn(UGen): ... send_id=0, ... ) >>> vdisk_in - UGenVector({2}) + , ])> """ buffer_id = param() diff --git a/supriya/ugens/dynamics.py b/supriya/ugens/dynamics.py index 3bc9ba4f2..9ad7fc617 100644 --- a/supriya/ugens/dynamics.py +++ b/supriya/ugens/dynamics.py @@ -17,7 +17,7 @@ class Amplitude(UGen): ... source=source, ... ) >>> amplitude - Amplitude.kr()[0] + """ source = param() @@ -122,7 +122,7 @@ class Limiter(UGen): ... source=source, ... ) >>> limiter - Limiter.ar()[0] + """ source = param() @@ -144,7 +144,7 @@ class Normalizer(UGen): ... source=source, ... ) >>> normalizer - Normalizer.ar()[0] + """ source = param() diff --git a/supriya/ugens/envelopes.py b/supriya/ugens/envelopes.py index 28540d69d..f6cf6c4d0 100644 --- a/supriya/ugens/envelopes.py +++ b/supriya/ugens/envelopes.py @@ -275,7 +275,7 @@ class Done(UGen): ... source=source, ... ) >>> done - Done.kr()[0] + """ source = param() @@ -290,7 +290,7 @@ class EnvGen(UGen): >>> from supriya.ugens import Envelope, EnvGen >>> EnvGen.ar(envelope=Envelope.percussive()) - EnvGen.ar()[0] + """ gate = param(1.0) @@ -342,7 +342,7 @@ class Free(UGen): ... trigger=trigger, ... ) >>> free - Free.kr()[0] + """ trigger = param(0) @@ -361,7 +361,7 @@ class FreeSelf(UGen): ... trigger=trigger, ... ) >>> free_self - FreeSelf.kr()[0] + """ trigger = param() @@ -379,7 +379,7 @@ class FreeSelfWhenDone(UGen): ... source=source, ... ) >>> free_self_when_done - FreeSelfWhenDone.kr()[0] + """ source = param() @@ -393,7 +393,7 @@ class Linen(UGen): :: >>> supriya.ugens.Linen.kr() - Linen.kr()[0] + """ gate = param(1.0) @@ -417,7 +417,7 @@ class Pause(UGen): ... trigger=trigger, ... ) >>> pause - Pause.kr()[0] + """ trigger = param() @@ -436,7 +436,7 @@ class PauseSelf(UGen): ... trigger=trigger, ... ) >>> pause_self - PauseSelf.kr()[0] + """ trigger = param() @@ -454,7 +454,7 @@ class PauseSelfWhenDone(UGen): ... source=source, ... ) >>> pause_self_when_done - PauseSelfWhenDone.kr()[0] + """ source = param() diff --git a/supriya/ugens/ffsinosc.py b/supriya/ugens/ffsinosc.py index 832b755e6..944556581 100644 --- a/supriya/ugens/ffsinosc.py +++ b/supriya/ugens/ffsinosc.py @@ -17,7 +17,7 @@ class Blip(UGen): ... harmonic_count=200, ... ) >>> blip - Blip.ar()[0] + """ frequency = param(440.0) @@ -36,7 +36,7 @@ class FSinOsc(UGen): ... initial_phase=0, ... ) >>> fsin_osc - FSinOsc.ar()[0] + """ frequency = param(440.0) @@ -63,7 +63,7 @@ class Klank(UGen): ... specifications=specifications, ... ) >>> klank - Klank.ar()[0] + """ source = param() @@ -118,7 +118,7 @@ class Pulse(UGen): ... width=0.5, ... ) >>> pulse - Pulse.ar()[0] + """ frequency = param(440.0) @@ -133,7 +133,7 @@ class Saw(UGen): :: >>> supriya.ugens.Saw.ar() - Saw.ar()[0] + """ frequency = param(440.0) diff --git a/supriya/ugens/filters.py b/supriya/ugens/filters.py index ff7ecb29a..3e2b32446 100644 --- a/supriya/ugens/filters.py +++ b/supriya/ugens/filters.py @@ -16,7 +16,7 @@ class APF(UGen): ... source=source, ... ) >>> apf - APF.ar()[0] + """ source = param() @@ -34,7 +34,7 @@ class BPF(UGen): >>> source = supriya.ugens.In.ar(bus=0) >>> b_p_f = supriya.ugens.BPF.ar(source=source) >>> b_p_f - BPF.ar()[0] + """ source = param() @@ -54,7 +54,7 @@ class BPZ2(UGen): ... source=source, ... ) >>> bpz_2 - BPZ2.ar()[0] + """ source = param() @@ -70,7 +70,7 @@ class BRF(UGen): >>> source = supriya.ugens.In.ar(bus=0) >>> b_r_f = supriya.ugens.BRF.ar(source=source) >>> b_r_f - BRF.ar()[0] + """ source = param() @@ -90,7 +90,7 @@ class BRZ2(UGen): ... source=source, ... ) >>> brz_2 - BRZ2.ar()[0] + """ source = param() @@ -209,7 +209,7 @@ class Decay(UGen): ... source=source, ... ) >>> decay - Decay.ar()[0] + """ source = param() @@ -228,7 +228,7 @@ class Decay2(UGen): ... source=source, ... ) >>> decay_2 - Decay2.ar()[0] + """ source = param() @@ -252,7 +252,7 @@ class DetectSilence(UGen): ... time=1.0, ... ) >>> detect_silence - DetectSilence.kr()[0] + """ ### CLASS VARIABLES ### @@ -282,7 +282,7 @@ class FOS(UGen): ... source=source, ... ) >>> fos - FOS.ar()[0] + """ source = param() @@ -306,7 +306,7 @@ class Formlet(UGen): ... source=source, ... ) >>> formlet - Formlet.ar()[0] + """ source = param() @@ -324,7 +324,7 @@ class HPF(UGen): >>> source = supriya.ugens.In.ar(bus=0) >>> supriya.ugens.HPF.ar(source=source) - HPF.ar()[0] + """ source = param() @@ -343,7 +343,7 @@ class HPZ1(UGen): ... source=source, ... ) >>> hpz_1 - HPZ1.ar()[0] + """ source = param() @@ -361,7 +361,7 @@ class HPZ2(UGen): ... source=source, ... ) >>> hpz_2 - HPZ2.ar()[0] + """ source = param() @@ -380,7 +380,7 @@ class Integrator(UGen): ... source=source, ... ) >>> integrator - Integrator.ar()[0] + """ source = param() @@ -399,7 +399,7 @@ class Lag(UGen): ... lag_time=0.5, ... source=source, ... ) - Lag.kr()[0] + """ source = param() @@ -419,7 +419,7 @@ class LagUD(UGen): ... lag_time_up=0.5, ... source=source, ... ) - LagUD.kr()[0] + """ source = param() @@ -440,7 +440,7 @@ class Lag2(UGen): ... source=source, ... ) >>> lag_2 - Lag2.ar()[0] + """ source = param() @@ -461,7 +461,7 @@ class Lag2UD(UGen): ... source=source, ... ) >>> lag_2_ud - Lag2UD.ar()[0] + """ source = param() @@ -482,7 +482,7 @@ class Lag3(UGen): ... source=source, ... ) >>> lag_3 - Lag3.ar()[0] + """ source = param() @@ -503,7 +503,7 @@ class Lag3UD(UGen): ... source=source, ... ) >>> lag_3_ud - Lag3UD.ar()[0] + """ source = param() @@ -524,7 +524,7 @@ class LeakDC(UGen): ... coefficient=0.995, ... ) >>> leak_d_c - LeakDC.ar()[0] + """ source = param() @@ -540,7 +540,7 @@ class LPF(UGen): >>> source = supriya.ugens.In.ar(bus=0) >>> supriya.ugens.LPF.ar(source=source) - LPF.ar()[0] + """ source = param() @@ -559,7 +559,7 @@ class LPZ1(UGen): ... source=source, ... ) >>> lpz_1 - LPZ1.ar()[0] + """ source = param() @@ -577,7 +577,7 @@ class LPZ2(UGen): ... source=source, ... ) >>> lpz_2 - LPZ2.ar()[0] + """ source = param() @@ -596,7 +596,7 @@ class Median(UGen): ... source=source, ... ) >>> median - Median.ar()[0] + """ length = param(3) @@ -618,7 +618,7 @@ class MidEQ(UGen): ... source=source, ... ) >>> mid_eq - MidEQ.ar()[0] + """ source = param() @@ -642,7 +642,7 @@ class MoogFF(UGen): ... source=source, ... ) >>> moog_ff - MoogFF.ar()[0] + """ source = param() @@ -664,7 +664,7 @@ class OnePole(UGen): ... source=source, ... ) >>> one_pole - OnePole.ar()[0] + """ source = param() @@ -684,7 +684,7 @@ class OneZero(UGen): ... source=source, ... ) >>> one_zero - OneZero.ar()[0] + """ source = param() @@ -700,7 +700,7 @@ class RHPF(UGen): >>> source = supriya.ugens.In.ar(bus=0) >>> supriya.ugens.RLPF.ar(source=source) - RLPF.ar()[0] + """ source = param() @@ -717,7 +717,7 @@ class RLPF(UGen): >>> source = supriya.ugens.In.ar(bus=0) >>> supriya.ugens.RLPF.ar(source=source) - RLPF.ar()[0] + """ source = param() @@ -738,7 +738,7 @@ class Ramp(UGen): ... source=source, ... ) >>> ramp - Ramp.ar()[0] + """ source = param() @@ -759,7 +759,7 @@ class Ringz(UGen): ... source=source, ... ) >>> ringz - Ringz.ar()[0] + """ source = param() @@ -788,7 +788,7 @@ class SOS(UGen): ... source=source, ... ) >>> sos - SOS.ar()[0] + """ source = param() @@ -813,7 +813,7 @@ class Slew(UGen): ... down=1, ... ) >>> slew - Slew.ar()[0] + """ source = param() @@ -833,7 +833,7 @@ class Slope(UGen): ... source=source, ... ) >>> slope - Slope.ar()[0] + """ source = param() @@ -853,7 +853,7 @@ class TwoPole(UGen): ... source=source, ... ) >>> two_pole - TwoPole.ar()[0] + """ source = param() @@ -875,7 +875,7 @@ class TwoZero(UGen): ... source=source, ... ) >>> two_zero - TwoZero.ar()[0] + """ source = param() diff --git a/supriya/ugens/gendyn.py b/supriya/ugens/gendyn.py index fbccefc79..f612deee3 100644 --- a/supriya/ugens/gendyn.py +++ b/supriya/ugens/gendyn.py @@ -25,7 +25,7 @@ class Gendy1(UGen): ... minfrequency=440, ... ) >>> gendy_1 - Gendy1.ar()[0] + """ ampdist = param(1) @@ -72,7 +72,7 @@ class Gendy2(UGen): ... minfrequency=440, ... ) >>> gendy_2 - Gendy2.ar()[0] + """ ampdist = param(1) @@ -118,7 +118,7 @@ class Gendy3(UGen): ... knum=10, ... ) >>> gendy_3 - Gendy3.ar()[0] + """ ampdist = param(1) diff --git a/supriya/ugens/granular.py b/supriya/ugens/granular.py index 9ce4553c4..ea8c834d1 100644 --- a/supriya/ugens/granular.py +++ b/supriya/ugens/granular.py @@ -19,7 +19,7 @@ class GrainBuf(UGen): ... trigger=0, ... ) >>> grain_buf - UGenVector({2}) + , ])> """ trigger = param(0) @@ -49,7 +49,7 @@ class GrainIn(UGen): ... trigger=0, ... ) >>> grain_in - UGenVector({2}) + , ])> """ trigger = param(0) @@ -71,7 +71,7 @@ class PitchShift(UGen): >>> supriya.ugens.PitchShift.ar( ... source=source, ... ) - PitchShift.ar()[0] + """ source = param() @@ -98,7 +98,7 @@ class Warp1(UGen): ... window_size=0.2, ... ) >>> warp_1 - Warp1.ar()[0] + """ buffer_id = param(0) diff --git a/supriya/ugens/hilbert.py b/supriya/ugens/hilbert.py index ad08d0865..dec0bb593 100644 --- a/supriya/ugens/hilbert.py +++ b/supriya/ugens/hilbert.py @@ -13,7 +13,7 @@ class FreqShift(UGen): ... source=source, ... ) >>> freq_shift - FreqShift.ar()[0] + """ source = param() @@ -33,7 +33,7 @@ class Hilbert(UGen): ... source=source, ... ) >>> hilbert - UGenVector({2}) + , ])> """ source = param() @@ -52,7 +52,7 @@ class HilbertFIR(UGen): ... source=source, ... ) >>> hilbert_fir - HilbertFIR.ar()[0] + """ source = param() diff --git a/supriya/ugens/info.py b/supriya/ugens/info.py index 24cc7d49f..9e9634860 100644 --- a/supriya/ugens/info.py +++ b/supriya/ugens/info.py @@ -9,7 +9,7 @@ class BlockSize(UGen): :: >>> supriya.ugens.BlockSize.ir() - BlockSize.ir()[0] + """ @@ -21,7 +21,7 @@ class BufChannels(UGen): :: >>> supriya.ugens.BufChannels.kr(buffer_id=0) - BufChannels.kr()[0] + """ buffer_id = param() @@ -35,7 +35,7 @@ class BufDur(UGen): :: >>> supriya.ugens.BufDur.kr(buffer_id=0) - BufDur.kr()[0] + """ buffer_id = param() @@ -49,7 +49,7 @@ class BufFrames(UGen): :: >>> supriya.ugens.BufFrames.kr(buffer_id=0) - BufFrames.kr()[0] + """ buffer_id = param() @@ -63,7 +63,7 @@ class BufRateScale(UGen): :: >>> supriya.ugens.BufRateScale.kr(buffer_id=0) - BufRateScale.kr()[0] + """ buffer_id = param() @@ -77,7 +77,7 @@ class BufSampleRate(UGen): :: >>> supriya.ugens.BufSampleRate.kr(buffer_id=0) - BufSampleRate.kr()[0] + """ buffer_id = param() @@ -91,7 +91,7 @@ class BufSamples(UGen): :: >>> supriya.ugens.BufSamples.kr(buffer_id=0) - BufSamples.kr()[0] + """ buffer_id = param() @@ -105,7 +105,7 @@ class ControlDur(UGen): :: >>> supriya.ugens.ControlDur.ir() - ControlDur.ir()[0] + """ @@ -117,7 +117,7 @@ class ControlRate(UGen): :: >>> supriya.ugens.ControlRate.ir() - ControlRate.ir()[0] + """ @@ -129,7 +129,7 @@ class NodeID(UGen): :: >>> supriya.ugens.NodeID.ir() - NodeID.ir()[0] + """ @@ -141,7 +141,7 @@ class NumAudioBuses(UGen): :: >>> supriya.ugens.NumAudioBuses.ir() - NumAudioBuses.ir()[0] + """ @@ -153,7 +153,7 @@ class NumBuffers(UGen): :: >>> supriya.ugens.NumBuffers.ir() - NumBuffers.ir()[0] + """ @@ -165,7 +165,7 @@ class NumControlBuses(UGen): :: >>> supriya.ugens.NumControlBuses.ir() - NumControlBuses.ir()[0] + """ @@ -177,7 +177,7 @@ class NumInputBuses(UGen): :: >>> supriya.ugens.NumInputBuses.ir() - NumInputBuses.ir()[0] + """ @@ -189,7 +189,7 @@ class NumOutputBuses(UGen): :: >>> supriya.ugens.NumOutputBuses.ir() - NumOutputBuses.ir()[0] + """ @@ -201,7 +201,7 @@ class NumRunningSynths(UGen): :: >>> supriya.ugens.NumRunningSynths.ir() - NumRunningSynths.ir()[0] + """ @@ -213,7 +213,7 @@ class RadiansPerSample(UGen): :: >>> supriya.ugens.RadiansPerSample.ir() - RadiansPerSample.ir()[0] + """ @@ -225,7 +225,7 @@ class SampleDur(UGen): :: >>> supriya.ugens.SampleDur.ir() - SampleDur.ir()[0] + """ @@ -237,7 +237,7 @@ class SampleRate(UGen): :: >>> supriya.ugens.SampleRate.ir() - SampleRate.ir()[0] + """ @@ -249,5 +249,5 @@ class SubsampleOffset(UGen): :: >>> supriya.ugens.SubsampleOffset.ir() - SubsampleOffset.ir()[0] + """ diff --git a/supriya/ugens/inout.py b/supriya/ugens/inout.py index 6335c766d..360263452 100644 --- a/supriya/ugens/inout.py +++ b/supriya/ugens/inout.py @@ -13,7 +13,7 @@ class In(UGen): :: >>> supriya.ugens.In.ar(bus=0, channel_count=4) - UGenVector({4}) + , , , ])> """ bus = param(0.0) @@ -33,7 +33,7 @@ class InFeedback(UGen): ... channel_count=2, ... ) >>> in_feedback - UGenVector({2}) + , ])> """ bus = param(0.0) @@ -47,7 +47,7 @@ class LocalIn(UGen): :: >>> supriya.ugens.LocalIn.ar(channel_count=2) - UGenVector({2}) + , ])> """ default = param(0.0, unexpanded=True) @@ -78,7 +78,7 @@ class LocalOut(UGen): >>> supriya.ugens.LocalOut.ar( ... source=source, ... ) - LocalOut.ar() + """ source = param(unexpanded=True) @@ -96,7 +96,7 @@ class OffsetOut(UGen): ... bus=0, ... source=source, ... ) - OffsetOut.ar() + """ bus = param(0) @@ -115,7 +115,7 @@ class Out(UGen): ... bus=0, ... source=source, ... ) - Out.ar() + """ bus = param(0) @@ -134,7 +134,7 @@ class ReplaceOut(UGen): ... bus=0, ... source=source, ... ) - ReplaceOut.ar() + """ bus = param(0) @@ -155,7 +155,7 @@ class XOut(UGen): ... source=source, ... ) >>> xout - XOut.ar() + """ bus = param(0) diff --git a/supriya/ugens/lines.py b/supriya/ugens/lines.py index 55cdee183..90afd7ca2 100644 --- a/supriya/ugens/lines.py +++ b/supriya/ugens/lines.py @@ -17,7 +17,7 @@ class A2K(UGen): ... source=source, ... ) >>> a_2_k - A2K.kr()[0] + """ source = param() @@ -36,7 +36,7 @@ class AmpComp(UGen): ... root=0, ... ) >>> amp_comp - AmpComp.ar()[0] + """ frequency = param(1000.0) @@ -58,7 +58,7 @@ class AmpCompA(UGen): ... root_amp=1, ... ) >>> amp_comp_a - AmpCompA.ar()[0] + """ frequency = param(1000.0) @@ -77,14 +77,14 @@ class DC(UGen): >>> supriya.ugens.DC.ar( ... source=0, ... ) - DC.ar()[0] + :: >>> supriya.ugens.DC.ar( ... source=(1, 2, 3), ... ) - UGenVector({3}) + , , ])> """ source = param() @@ -102,7 +102,7 @@ class K2A(UGen): ... source=source, ... ) >>> k_2_a - K2A.ar()[0] + """ source = param() @@ -124,7 +124,7 @@ class LinExp(UGen): ... source=source, ... ) >>> lin_exp - LinExp.ar()[0] + """ source = param() @@ -170,7 +170,7 @@ class Line(UGen): :: >>> supriya.ugens.Line.ar() - Line.ar()[0] + """ start = param(0.0) @@ -197,7 +197,7 @@ class Silence(PseudoUGen): :: >>> supriya.ugens.Silence.ar(channel_count=2) - UGenVector({2}) + , ])> """ @classmethod @@ -221,7 +221,7 @@ class XLine(UGen): :: >>> supriya.ugens.XLine.ar() - XLine.ar()[0] + """ start = param(0.0) diff --git a/supriya/ugens/mac.py b/supriya/ugens/mac.py index 7c38ebc2a..3133813d0 100644 --- a/supriya/ugens/mac.py +++ b/supriya/ugens/mac.py @@ -18,7 +18,7 @@ class MouseButton(UGen): :: >>> supriya.ugens.MouseButton.kr() - MouseButton.kr()[0] + """ minimum = param(0.0) @@ -36,7 +36,7 @@ class MouseX(UGen): :: >>> supriya.ugens.MouseX.kr() - MouseX.kr()[0] + """ minimum = param(0.0) @@ -55,7 +55,7 @@ class MouseY(UGen): :: >>> supriya.ugens.MouseY.kr() - MouseY.kr()[0] + """ minimum = param(0.0) diff --git a/supriya/ugens/ml.py b/supriya/ugens/ml.py index 66492db71..69fefcb13 100644 --- a/supriya/ugens/ml.py +++ b/supriya/ugens/ml.py @@ -20,7 +20,7 @@ class BeatTrack(UGen): ... lock=0, ... ) >>> beat_track - UGenVector({4}) + , , , ])> """ pv_chain = param() @@ -43,7 +43,7 @@ class BeatTrack2(UGen): ... window_size=2, ... ) >>> beat_track_2 - UGenVector({6}) + , , , , , ])> """ bus_index = param(0.0) @@ -69,7 +69,7 @@ class KeyTrack(UGen): ... key_decay=2, ... ) >>> key_track - KeyTrack.kr()[0] + """ pv_chain = param() @@ -92,7 +92,7 @@ class Loudness(UGen): ... tmask=1, ... ) >>> loudness - Loudness.kr()[0] + """ pv_chain = param() @@ -113,7 +113,7 @@ class MFCC(UGen): ... pv_chain=pv_chain, ... ) >>> mfcc - UGenVector({13}) + , , , , , , , , , , , , ])> """ pv_chain = param() @@ -150,7 +150,7 @@ class Onsets(UGen): ... whtype=1, ... ) >>> onsets - Onsets.kr()[0] + """ class ODFType(IntEnumeration): @@ -183,7 +183,7 @@ class Pitch(UGen): >>> source = supriya.ugens.In.ar(bus=0) >>> pitch = supriya.ugens.Pitch.kr(source=source) >>> pitch - UGenVector({2}) + , ])> """ source = param() @@ -212,7 +212,7 @@ class SpecCentroid(UGen): ... pv_chain=pv_chain, ... ) >>> spec_centroid - SpecCentroid.kr()[0] + """ pv_chain = param() @@ -231,7 +231,7 @@ class SpecFlatness(UGen): ... pv_chain=pv_chain, ... ) >>> spec_flatness - SpecFlatness.kr()[0] + """ pv_chain = param() @@ -252,7 +252,7 @@ class SpecPcile(UGen): ... interpolate=0, ... ) >>> spec_pcile - SpecPcile.kr()[0] + """ pv_chain = param() diff --git a/supriya/ugens/noise.py b/supriya/ugens/noise.py index 0b05f3295..73d9cfd26 100644 --- a/supriya/ugens/noise.py +++ b/supriya/ugens/noise.py @@ -12,7 +12,7 @@ class BrownNoise(UGen): :: >>> supriya.ugens.BrownNoise.ar() - BrownNoise.ar()[0] + """ @@ -24,7 +24,7 @@ class ClipNoise(UGen): :: >>> supriya.ugens.ClipNoise.ar() - ClipNoise.ar()[0] + """ @@ -41,7 +41,7 @@ class CoinGate(UGen): ... trigger=trigger, ... ) >>> coin_gate - CoinGate.ar()[0] + """ probability = param(0.5) @@ -59,7 +59,7 @@ class Crackle(UGen): ... chaos_parameter=1.25, ... ) >>> crackle - Crackle.ar()[0] + """ chaos_parameter = param(1.5) @@ -76,7 +76,7 @@ class Dust(UGen): ... density=23, ... ) >>> dust - Dust.ar()[0] + """ density = param(0.0) @@ -93,7 +93,7 @@ class Dust2(UGen): ... density=23, ... ) >>> dust_2 - Dust2.ar()[0] + """ density = param(0.0) @@ -108,7 +108,7 @@ class ExpRand(UGen): >>> exp_rand = supriya.ugens.ExpRand.ir() >>> exp_rand - ExpRand.ir()[0] + """ minimum = param(0.0) @@ -137,7 +137,7 @@ class GrayNoise(UGen): :: >>> supriya.ugens.GrayNoise.ar() - GrayNoise.ar()[0] + """ @@ -153,7 +153,7 @@ class Hasher(UGen): ... source=source, ... ) >>> hasher - Hasher.ar()[0] + """ source = param() @@ -167,7 +167,7 @@ class IRand(UGen): :: >>> supriya.ugens.IRand.ir() - IRand.ir()[0] + """ minimum = param(0) @@ -182,7 +182,7 @@ class LFClipNoise(UGen): :: >>> supriya.ugens.LFClipNoise.ar() - LFClipNoise.ar()[0] + """ frequency = param(500.0) @@ -196,7 +196,7 @@ class LFDClipNoise(UGen): :: >>> supriya.ugens.LFDClipNoise.ar() - LFDClipNoise.ar()[0] + """ frequency = param(500.0) @@ -210,7 +210,7 @@ class LFDNoise0(UGen): :: >>> supriya.ugens.LFDNoise0.ar() - LFDNoise0.ar()[0] + """ frequency = param(500.0) @@ -224,7 +224,7 @@ class LFDNoise1(UGen): :: >>> supriya.ugens.LFDNoise1.ar() - LFDNoise1.ar()[0] + """ frequency = param(500.0) @@ -238,7 +238,7 @@ class LFDNoise3(UGen): :: >>> supriya.ugens.LFDNoise3.ar() - LFDNoise3.ar()[0] + """ frequency = param(500.0) @@ -252,7 +252,7 @@ class LFNoise0(UGen): :: >>> supriya.ugens.LFNoise0.ar() - LFNoise0.ar()[0] + """ frequency = param(500.0) @@ -266,7 +266,7 @@ class LFNoise1(UGen): :: >>> supriya.ugens.LFNoise1.ar() - LFNoise1.ar()[0] + """ frequency = param(500.0) @@ -280,7 +280,7 @@ class LFNoise2(UGen): :: >>> supriya.ugens.LFNoise2.ar() - LFNoise2.ar()[0] + """ frequency = param(500.0) @@ -299,7 +299,7 @@ class LinRand(UGen): ... skew=0.5, ... ) >>> lin_rand - LinRand.ir()[0] + """ minimum = param(0.0) @@ -320,7 +320,7 @@ class Logistic(UGen): ... initial_y=0.5, ... ) >>> logistic - Logistic.ar()[0] + """ chaos_parameter = param(3) @@ -341,7 +341,7 @@ class MantissaMask(UGen): ... bits=3, ... ) >>> mantissa_mask - MantissaMask.ar()[0] + """ source = param(0) @@ -361,7 +361,7 @@ class NRand(UGen): ... n=1, ... ) >>> n_rand - NRand.ir()[0] + """ minimum = param(0.0) @@ -377,7 +377,7 @@ class PinkNoise(UGen): :: >>> supriya.ugens.PinkNoise.ar() - PinkNoise.ar()[0] + """ @@ -389,7 +389,7 @@ class Rand(UGen): :: >>> supriya.ugens.Rand.ir() - Rand.ir()[0] + """ minimum = param(0.0) @@ -407,7 +407,7 @@ class RandID(UGen): ... rand_id=1, ... ) >>> rand_id - RandID.ir()[0] + """ rand_id = param(1) @@ -426,7 +426,7 @@ class RandSeed(UGen): ... trigger=trigger, ... ) >>> rand_seed - RandSeed.ar()[0] + """ trigger = param(0) @@ -447,7 +447,7 @@ class TExpRand(UGen): ... trigger=trigger, ... ) >>> t_exp_rand - TExpRand.ar()[0] + """ minimum = param(0.01) @@ -469,7 +469,7 @@ class TIRand(UGen): ... trigger=trigger, ... ) >>> t_i_rand - TIRand.ar()[0] + """ minimum = param(0) @@ -501,7 +501,7 @@ class TRand(UGen): ... trigger=trigger, ... ) >>> t_rand - TRand.ar()[0] + """ minimum = param(0.0) @@ -523,7 +523,7 @@ class TWindex(UGen): ... array=[1, 2, 3], ... ) >>> t_windex - TWindex.ar()[0] + """ trigger = param() @@ -539,5 +539,5 @@ class WhiteNoise(UGen): :: >>> supriya.ugens.WhiteNoise.ar() - WhiteNoise.ar()[0] + """ diff --git a/supriya/ugens/osc.py b/supriya/ugens/osc.py index afe08de4f..c1a39754d 100644 --- a/supriya/ugens/osc.py +++ b/supriya/ugens/osc.py @@ -17,7 +17,7 @@ class COsc(UGen): ... frequency=440, ... ) >>> cosc - COsc.ar()[0] + """ buffer_id = param() @@ -39,7 +39,7 @@ class DegreeToKey(UGen): ... source=source, ... ) >>> degree_to_key - DegreeToKey.ar()[0] + """ buffer_id = param() @@ -55,7 +55,7 @@ class Impulse(UGen): :: >>> supriya.ugens.Impulse.ar() - Impulse.ar()[0] + """ frequency = param(440.0) @@ -75,7 +75,7 @@ class Index(UGen): ... source=source, ... ) >>> index - Index.ar()[0] + """ buffer_id = param() @@ -90,7 +90,7 @@ class LFCub(UGen): :: >>> supriya.ugens.LFCub.ar() - LFCub.ar()[0] + """ frequency = param(440.0) @@ -105,7 +105,7 @@ class LFGauss(UGen): :: >>> supriya.ugens.LFGauss.ar() - LFGauss.ar()[0] + """ duration = param(1) @@ -134,7 +134,7 @@ class LFPar(UGen): :: >>> supriya.ugens.LFPar.ar() - LFPar.ar()[0] + """ frequency = param(440.0) @@ -149,7 +149,7 @@ class LFPulse(UGen): :: >>> supriya.ugens.LFPulse.ar() - LFPulse.ar()[0] + """ frequency = param(440.0) @@ -165,7 +165,7 @@ class LFSaw(UGen): :: >>> supriya.ugens.LFSaw.ar() - LFSaw.ar()[0] + """ frequency = param(440.0) @@ -180,7 +180,7 @@ class LFTri(UGen): :: >>> supriya.ugens.LFTri.ar() - LFTri.ar()[0] + """ frequency = param(440.0) @@ -223,7 +223,7 @@ class Select(UGen): ... selector=selector, ... ) >>> select - Select.ar()[0] + """ selector = param() @@ -238,7 +238,7 @@ class SinOsc(UGen): :: >>> supriya.ugens.SinOsc.ar() - SinOsc.ar()[0] + :: @@ -267,7 +267,7 @@ class SyncSaw(UGen): ... sync_frequency=440, ... ) >>> sync_saw - SyncSaw.ar()[0] + """ sync_frequency = param(440.0) @@ -287,7 +287,7 @@ class VOsc(UGen): ... phase=0, ... ) >>> vosc - VOsc.ar()[0] + """ buffer_id = param() @@ -309,7 +309,7 @@ class VOsc3(UGen): ... freq_3=440, ... ) >>> vosc_3 - VOsc3.ar()[0] + """ buffer_id = param() @@ -326,7 +326,7 @@ class VarSaw(UGen): :: >>> supriya.ugens.VarSaw.ar() - VarSaw.ar()[0] + """ frequency = param(440.0) @@ -352,7 +352,7 @@ class Vibrato(UGen): ... rate_variation=0.04, ... ) >>> vibrato - Vibrato.ar()[0] + """ frequency = param(440) @@ -378,7 +378,7 @@ class WrapIndex(UGen): ... source=source, ... ) >>> wrap_index - WrapIndex.ar()[0] + """ buffer_id = param() diff --git a/supriya/ugens/panning.py b/supriya/ugens/panning.py index dceaadcff..98a2ff4bd 100644 --- a/supriya/ugens/panning.py +++ b/supriya/ugens/panning.py @@ -22,7 +22,7 @@ class Balance2(UGen): ... right=right, ... ) >>> balance_2 - UGenVector({2}) + , ])> """ left = param() @@ -47,7 +47,7 @@ class BiPanB2(UGen): ... in_b=in_b, ... ) >>> bi_pan_b_2 - UGenVector({3}) + , , ])> :: @@ -80,7 +80,7 @@ class DecodeB2(UGen): ... y=y, ... ) >>> decode_b_2 - UGenVector({4}) + , , , ])> """ w = param() @@ -101,7 +101,7 @@ class Pan2(UGen): ... source=source, ... ) >>> pan_2 - UGenVector({2}) + , ])> """ source = param() @@ -124,7 +124,7 @@ class Pan4(UGen): ... y_position=0, ... ) >>> pan_4 - UGenVector({4}) + , , , ])> """ source = param() @@ -150,7 +150,7 @@ class PanAz(UGen): ... width=2, ... ) >>> pan_az - UGenVector({8}) + , , , , , , , ])> """ source = param() @@ -175,7 +175,7 @@ class PanB(UGen): ... source=source, ... ) >>> pan_b - UGenVector({3}) + , , ])> """ source = param() @@ -198,7 +198,7 @@ class PanB2(UGen): ... source=source, ... ) >>> pan_b_2 - UGenVector({3}) + , , ])> """ source = param() @@ -223,7 +223,7 @@ class Rotate2(UGen): ... position=position, ... ) >>> rotate_2 - UGenVector({2}) + , ])> Returns an array of the rotator's left and right outputs. """ @@ -242,7 +242,7 @@ class Splay(PseudoUGen): >>> source = supriya.ugens.SinOsc.ar(frequency=[333, 444, 555, 666, 777]) >>> splay = supriya.ugens.Splay.ar(source=source) >>> splay - UGenVector({2}) + , ])> :: @@ -396,7 +396,7 @@ class XFade2(UGen): ... pan=supriya.ugens.LFTri.kr(frequency=0.1), ... ) >>> xfade_3 - XFade2.ar()[0] + """ in_a = param() diff --git a/supriya/ugens/physical.py b/supriya/ugens/physical.py index 894488287..aa1c6c0db 100644 --- a/supriya/ugens/physical.py +++ b/supriya/ugens/physical.py @@ -16,7 +16,7 @@ class Ball(UGen): ... source=source, ... ) >>> ball - Ball.ar()[0] + """ source = param() @@ -43,7 +43,7 @@ class Pluck(UGen): ... trigger=trigger, ... ) >>> pluck - Pluck.ar()[0] + """ source = param() @@ -68,7 +68,7 @@ class Spring(UGen): ... spring=1, ... ) >>> spring - Spring.ar()[0] + """ source = param() @@ -91,7 +91,7 @@ class TBall(UGen): ... source=source, ... ) >>> tball - TBall.ar()[0] + """ source = param() diff --git a/supriya/ugens/pv.py b/supriya/ugens/pv.py index fd3503d4e..834a4512a 100644 --- a/supriya/ugens/pv.py +++ b/supriya/ugens/pv.py @@ -41,7 +41,7 @@ class FFT(PV_ChainUGen): ... window_type=0, ... ) >>> fft - FFT.kr()[0] + """ ### CLASS VARIABLES ### @@ -88,7 +88,7 @@ class IFFT(UGen): ... window_type=0, ... ) >>> ifft - IFFT.ar()[0] + """ pv_chain = param() @@ -114,7 +114,7 @@ class PV_Add(PV_ChainUGen): ... pv_chain_b=pv_chain_b, ... ) >>> pv_add - PV_Add.kr()[0] + """ pv_chain_a = param() @@ -138,7 +138,7 @@ class PV_BinScramble(PV_ChainUGen): ... wipe=0, ... ) >>> pv_bin_scramble - PV_BinScramble.kr()[0] + """ pv_chain = param() @@ -164,7 +164,7 @@ class PV_BinShift(PV_ChainUGen): ... stretch=1, ... ) >>> pv_bin_shift - PV_BinShift.kr()[0] + """ pv_chain = param() @@ -192,7 +192,7 @@ class PV_BinWipe(PV_ChainUGen): ... wipe=0, ... ) >>> pv_bin_wipe - PV_BinWipe.kr()[0] + """ pv_chain_a = param() @@ -220,7 +220,7 @@ class PV_BrickWall(PV_ChainUGen): ... wipe=0, ... ) >>> pv_brick_wall - PV_BrickWall.kr()[0] + """ pv_chain = param() @@ -243,7 +243,7 @@ class PV_ConformalMap(PV_ChainUGen): ... pv_chain=pv_chain, ... ) >>> pv_conformal_map - PV_ConformalMap.kr()[0] + """ pv_chain = param() @@ -265,7 +265,7 @@ class PV_Conj(PV_ChainUGen): ... pv_chain=pv_chain, ... ) >>> pv_conj - PV_Conj.kr()[0] + """ pv_chain = param() @@ -289,7 +289,7 @@ class PV_Copy(PV_ChainUGen): ... pv_chain_b=pv_chain_b, ... ) >>> pv_copy - PV_Copy.kr()[0] + """ pv_chain_a = param() @@ -314,7 +314,7 @@ class PV_CopyPhase(PV_ChainUGen): ... pv_chain_b=pv_chain_b, ... ) >>> pv_copy_phase - PV_CopyPhase.kr()[0] + """ pv_chain_a = param() @@ -336,7 +336,7 @@ class PV_Diffuser(PV_ChainUGen): ... trigger=0, ... ) >>> pv_diffuser - PV_Diffuser.kr()[0] + """ pv_chain = param() @@ -361,7 +361,7 @@ class PV_Div(PV_ChainUGen): ... pv_chain_b=pv_chain_b, ... ) >>> pv_div - PV_Div.kr()[0] + """ pv_chain_a = param() @@ -386,7 +386,7 @@ class PV_HainsworthFoote(PV_ChainUGen): ... waittime=0.04, ... ) >>> pv_hainsworth_foote - PV_HainsworthFoote.kr()[0] + """ pv_chain = param() @@ -416,7 +416,7 @@ class PV_JensenAndersen(PV_ChainUGen): ... waittime=0.04, ... ) >>> pv_jensen_andersen - PV_JensenAndersen.kr()[0] + """ pv_chain = param() @@ -443,7 +443,7 @@ class PV_LocalMax(PV_ChainUGen): ... threshold=0, ... ) >>> pv_local_max - PV_LocalMax.kr()[0] + """ pv_chain = param() @@ -465,7 +465,7 @@ class PV_MagAbove(PV_ChainUGen): ... threshold=0, ... ) >>> pv_mag_above - PV_MagAbove.kr()[0] + """ pv_chain = param() @@ -487,7 +487,7 @@ class PV_MagBelow(PV_ChainUGen): ... threshold=0, ... ) >>> pv_mag_below - PV_MagBelow.kr()[0] + """ pv_chain = param() @@ -509,7 +509,7 @@ class PV_MagClip(PV_ChainUGen): ... threshold=0, ... ) >>> pv_mag_clip - PV_MagClip.kr()[0] + """ pv_chain = param() @@ -535,7 +535,7 @@ class PV_MagDiv(PV_ChainUGen): ... zeroed=0.0001, ... ) >>> pv_mag_div - PV_MagDiv.kr()[0] + """ pv_chain_a = param() @@ -558,7 +558,7 @@ class PV_MagFreeze(PV_ChainUGen): ... freeze=0, ... ) >>> pv_mag_freeze - PV_MagFreeze.kr()[0] + """ pv_chain = param() @@ -583,7 +583,7 @@ class PV_MagMul(PV_ChainUGen): ... pv_chain_b=pv_chain_b, ... ) >>> pv_mag_mul - PV_MagMul.kr()[0] + """ pv_chain_a = param() @@ -604,7 +604,7 @@ class PV_MagNoise(PV_ChainUGen): ... pv_chain=pv_chain, ... ) >>> pv_mag_noise - PV_MagNoise.kr()[0] + """ pv_chain = param() @@ -626,7 +626,7 @@ class PV_MagShift(PV_ChainUGen): ... stretch=1, ... ) >>> pv_mag_shift - PV_MagShift.kr()[0] + """ pv_chain = param() @@ -649,7 +649,7 @@ class PV_MagSmear(PV_ChainUGen): ... pv_chain=pv_chain, ... ) >>> pv_mag_smear - PV_MagSmear.kr()[0] + """ pv_chain = param() @@ -670,7 +670,7 @@ class PV_MagSquared(PV_ChainUGen): ... pv_chain=pv_chain, ... ) >>> pv_mag_squared - PV_MagSquared.kr()[0] + """ pv_chain = param() @@ -694,7 +694,7 @@ class PV_Max(PV_ChainUGen): ... pv_chain_b=pv_chain_b, ... ) >>> pv_max - PV_Max.kr()[0] + """ pv_chain_a = param() @@ -719,7 +719,7 @@ class PV_Min(PV_ChainUGen): ... pv_chain_b=pv_chain_b, ... ) >>> pv_min - PV_Min.kr()[0] + """ pv_chain_a = param() @@ -744,7 +744,7 @@ class PV_Mul(PV_ChainUGen): ... pv_chain_b=pv_chain_b, ... ) >>> pv_mul - PV_Mul.kr()[0] + """ pv_chain_a = param() @@ -768,7 +768,7 @@ class PV_PhaseShift(PV_ChainUGen): ... shift=shift, ... ) >>> pv_phase_shift - PV_PhaseShift.kr()[0] + """ pv_chain = param() @@ -790,7 +790,7 @@ class PV_PhaseShift270(PV_ChainUGen): ... pv_chain=pv_chain, ... ) >>> pv_phase_shift_270 - PV_PhaseShift270.kr()[0] + """ pv_chain = param() @@ -810,7 +810,7 @@ class PV_PhaseShift90(PV_ChainUGen): ... pv_chain=pv_chain, ... ) >>> pv_phase_shift_90 - PV_PhaseShift90.kr()[0] + """ pv_chain = param() @@ -832,7 +832,7 @@ class PV_RandComb(PV_ChainUGen): ... wipe=0, ... ) >>> pv_rand_comb - PV_RandComb.kr()[0] + """ pv_chain = param() @@ -860,7 +860,7 @@ class PV_RandWipe(PV_ChainUGen): ... wipe=0, ... ) >>> pv_rand_wipe - PV_RandWipe.kr()[0] + """ pv_chain_a = param() @@ -886,7 +886,7 @@ class PV_RectComb(PV_ChainUGen): ... width=0.5, ... ) >>> pv_rect_comb - PV_RectComb.kr()[0] + """ pv_chain = param() @@ -916,7 +916,7 @@ class PV_RectComb2(PV_ChainUGen): ... width=0.5, ... ) >>> pv_rect_comb_2 - PV_RectComb2.kr()[0] + """ pv_chain_a = param() @@ -939,7 +939,7 @@ class RunningSum(UGen): ... source=source, ... ) >>> running_sum - RunningSum.ar()[0] + """ source = param() diff --git a/supriya/ugens/reverb.py b/supriya/ugens/reverb.py index 392ca8352..4d71ca118 100644 --- a/supriya/ugens/reverb.py +++ b/supriya/ugens/reverb.py @@ -12,7 +12,7 @@ class FreeVerb(UGen): >>> supriya.ugens.FreeVerb.ar( ... source=source, ... ) - FreeVerb.ar()[0] + """ source = param() diff --git a/supriya/ugens/safety.py b/supriya/ugens/safety.py index caf89007f..ea355ef3c 100644 --- a/supriya/ugens/safety.py +++ b/supriya/ugens/safety.py @@ -20,7 +20,7 @@ class CheckBadValues(UGen): ... post_mode=post_mode, ... ) >>> check_bad_values - CheckBadValues.ar()[0] + """ source = param() diff --git a/supriya/ugens/triggers.py b/supriya/ugens/triggers.py index 9cf3b2df3..15bf7dec7 100644 --- a/supriya/ugens/triggers.py +++ b/supriya/ugens/triggers.py @@ -16,7 +16,7 @@ class Clip(UGen): ... source=source, ... ) >>> clip - Clip.ar()[0] + """ source = param() @@ -38,7 +38,7 @@ class Fold(UGen): ... source=source, ... ) >>> fold - Fold.ar()[0] + """ source = param() @@ -60,7 +60,7 @@ class Gate(UGen): ... trigger=trigger, ... ) >>> gate - Gate.ar()[0] + """ source = param() @@ -81,7 +81,7 @@ class InRange(UGen): ... source=source, ... ) >>> in_range - InRange.ar()[0] + """ source = param() @@ -103,7 +103,7 @@ class Latch(UGen): ... trigger=trigger, ... ) >>> latch - Latch.ar()[0] + """ source = param() @@ -122,7 +122,7 @@ class LeastChange(UGen): ... b=0, ... ) >>> least_change - LeastChange.ar()[0] + """ a = param(0) @@ -141,7 +141,7 @@ class MostChange(UGen): ... b=0, ... ) >>> most_change - MostChange.ar()[0] + """ a = param(0) @@ -162,7 +162,7 @@ class Peak(UGen): ... trigger=trigger, ... ) >>> peak - Peak.ar()[0] + """ source = param() @@ -182,7 +182,7 @@ class PeakFollower(UGen): ... source=source, ... ) >>> peak_follower - PeakFollower.ar()[0] + """ source = param() @@ -205,7 +205,7 @@ class Phasor(UGen): ... trigger=trigger, ... ) >>> phasor - Phasor.ar()[0] + """ trigger = param(0) @@ -230,7 +230,7 @@ class Poll(UGen): ... trigger_id=1234, ... ) >>> poll - Poll.ar()[0] + .. container:: example @@ -385,7 +385,7 @@ class RunningMax(UGen): ... trigger=0, ... ) >>> running_max - RunningMax.ar()[0] + """ source = param() @@ -406,7 +406,7 @@ class RunningMin(UGen): ... trigger=trigger, ... ) >>> running_min - RunningMin.ar()[0] + """ source = param() @@ -427,7 +427,7 @@ class Schmidt(UGen): ... source=source, ... ) >>> schmidt - Schmidt.ar()[0] + """ source = param() @@ -450,7 +450,7 @@ class SendPeakRMS(UGen): ... source=[1, 2, 3], ... ) >>> send_peak_rms - SendPeakRMS.kr() + """ ### CLASS VARIABLES ### @@ -483,7 +483,7 @@ def ar( ... source=source, ... ) >>> send_peak_rms - SendPeakRMS.ar() + Returns ugen graph. """ @@ -517,7 +517,7 @@ def kr( ... source=source, ... ) >>> send_peak_rms - SendPeakRMS.kr() + Returns ugen graph. """ @@ -571,7 +571,7 @@ def ar(cls, command_name="/reply", reply_id=-1, source=None, trigger=None): ... trigger=trigger, ... ) >>> send_reply - SendReply.ar() + Returns ugen graph. """ @@ -600,7 +600,7 @@ def kr(cls, command_name="/reply", reply_id=-1, source=None, trigger=None): ... trigger=trigger, ... ) >>> send_reply - SendReply.kr() + Returns ugen graph. """ @@ -634,7 +634,7 @@ class Sweep(UGen): ... trigger=0, ... ) >>> sweep - Sweep.ar()[0] + """ trigger = param(0) @@ -654,7 +654,7 @@ class TDelay(UGen): ... source=source, ... ) >>> tdelay - TDelay.ar()[0] + """ source = param() @@ -673,7 +673,7 @@ class ToggleFF(UGen): ... trigger=trigger, ... ) >>> toggle_ff - ToggleFF.ar()[0] + """ trigger = param(0) @@ -692,7 +692,7 @@ class Trig1(UGen): ... source=source, ... ) >>> trig_1 - Trig1.ar()[0] + """ source = param() @@ -712,7 +712,7 @@ class Trig(UGen): ... source=source, ... ) >>> trig - Trig.ar()[0] + """ source = param() @@ -733,7 +733,7 @@ class Wrap(UGen): ... source=source, ... ) >>> wrap - Wrap.ar()[0] + """ source = param() @@ -753,7 +753,7 @@ class ZeroCrossing(UGen): ... source=source, ... ) >>> zero_crossing - ZeroCrossing.ar()[0] + """ source = param() diff --git a/tests/ugens/test_SynthDef_mfcc.py b/tests/ugens/test_SynthDef_mfcc.py index 7876cb49e..88d5672e4 100644 --- a/tests/ugens/test_SynthDef_mfcc.py +++ b/tests/ugens/test_SynthDef_mfcc.py @@ -48,12 +48,12 @@ def sc_synthdef_mfcc(): def test_ugens(py_synthdef_mfcc, sc_synthdef_mfcc): py_ugens = tuple(repr(_) for _ in py_synthdef_mfcc.ugens) assert py_ugens == ( - "In.ar()", - "MaxLocalBufs.ir()", - "LocalBuf.ir()", - "FFT.kr()", - "MFCC.kr()", - "Out.kr()", + "", + "", + "", + "", + "", + "", ) sc_compiled_synthdef = bytes(sc_synthdef_mfcc.compile()) sc_synthdef = decompile_synthdef(sc_compiled_synthdef) diff --git a/tests/ugens/test_SynthDef_width_first.py b/tests/ugens/test_SynthDef_width_first.py index aee5e8b34..4d3616c88 100644 --- a/tests/ugens/test_SynthDef_width_first.py +++ b/tests/ugens/test_SynthDef_width_first.py @@ -131,18 +131,18 @@ def py_synthdef_02(): def test_02_ugens(py_synthdef_02): assert tuple(repr(_) for _ in py_synthdef_02.ugens) == ( - "PinkNoise.ar()", - "MaxLocalBufs.ir()", - "LocalBuf.ir()", - "FFT.kr()", - "BufFrames.ir()", - "LocalBuf.ir()", - "PV_Copy.kr()", - "PV_BinScramble.kr()", - "PV_MagFreeze.kr()", - "PV_MagMul.kr()", - "IFFT.ar()", - "Out.ar()", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", ) assert str(py_synthdef_02) == normalize( """ @@ -216,18 +216,18 @@ def test_02_supriya_vs_sclang(py_synthdef_02): assert py_compiled_synthdef == sc_compiled_synthdef sc_synthdef = decompile_synthdef(sc_compiled_synthdef) assert tuple(repr(_) for _ in sc_synthdef.ugens) == ( - "PinkNoise.ar()", - "MaxLocalBufs.ir()", - "LocalBuf.ir()", - "FFT.kr()", - "BufFrames.ir()", - "LocalBuf.ir()", - "PV_Copy.kr()", - "PV_BinScramble.kr()", - "PV_MagFreeze.kr()", - "PV_MagMul.kr()", - "IFFT.ar()", - "Out.ar()", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", ) assert tuple(repr(_) for _ in sc_synthdef.ugens) == tuple( repr(_) for _ in py_synthdef_02.ugens