Skip to content

Commit

Permalink
Reformat UGen reprs
Browse files Browse the repository at this point in the history
  • Loading branch information
josephine-wolf-oberholtzer committed May 1, 2024
1 parent 36cf736 commit ee5482c
Show file tree
Hide file tree
Showing 29 changed files with 402 additions and 402 deletions.
6 changes: 3 additions & 3 deletions supriya/ugens/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ class MulAdd(UGen):
... source=source,
... )
>>> mul_add
MulAdd.ar()[0]
<MulAdd.ar()[0]>
"""

### CLASS VARIABLES ###
Expand Down Expand Up @@ -415,7 +415,7 @@ class Sum3(UGen):
... input_two=input_two,
... input_three=input_three,
... )
Sum3.ar()[0]
<Sum3.ar()[0]>
"""

input_one = param()
Expand Down Expand Up @@ -473,7 +473,7 @@ class Sum4(UGen):
... input_three=input_three,
... input_four=input_four,
... )
Sum4.ar()[0]
<Sum4.ar()[0]>
"""

input_one = param()
Expand Down
20 changes: 10 additions & 10 deletions supriya/ugens/beq.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class BAllPass(UGen):
... source=source,
... )
>>> ball_pass
BAllPass.ar()[0]
<BAllPass.ar()[0]>
"""

source = param()
Expand All @@ -37,7 +37,7 @@ class BBandPass(UGen):
... source=source,
... )
>>> bband_pass
BBandPass.ar()[0]
<BBandPass.ar()[0]>
"""

source = param()
Expand All @@ -59,7 +59,7 @@ class BBandStop(UGen):
... source=source,
... )
>>> bband_stop
BBandStop.ar()[0]
<BBandStop.ar()[0]>
"""

source = param()
Expand All @@ -82,7 +82,7 @@ class BHiCut(UGen):
... source=source,
... )
>>> bhi_cut
BHiCut.ar()[0]
<BHiCut.ar()[0]>
"""

source = param()
Expand All @@ -105,7 +105,7 @@ class BHiPass(UGen):
... source=source,
... )
>>> bhi_pass
BHiPass.ar()[0]
<BHiPass.ar()[0]>
"""

source = param()
Expand All @@ -128,7 +128,7 @@ class BHiShelf(UGen):
... source=source,
... )
>>> bhi_shelf
BHiShelf.ar()[0]
<BHiShelf.ar()[0]>
"""

source = param()
Expand All @@ -152,7 +152,7 @@ class BLowCut(UGen):
... source=source,
... )
>>> blow_cut
BLowCut.ar()[0]
<BLowCut.ar()[0]>
"""

source = param()
Expand All @@ -175,7 +175,7 @@ class BLowPass(UGen):
... source=source,
... )
>>> blow_pass
BLowPass.ar()[0]
<BLowPass.ar()[0]>
"""

source = param()
Expand All @@ -198,7 +198,7 @@ class BLowShelf(UGen):
... source=source,
... )
>>> blow_shelf
BLowShelf.ar()[0]
<BLowShelf.ar()[0]>
"""

source = param()
Expand All @@ -222,7 +222,7 @@ class BPeakEQ(UGen):
... source=source,
... )
>>> bpeak_eq
BPeakEQ.ar()[0]
<BPeakEQ.ar()[0]>
"""

source = param()
Expand Down
26 changes: 13 additions & 13 deletions supriya/ugens/bufio.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class BufRd(UGen):
... phase=phase,
... )
>>> buf_rd
UGenVector({2})
<UGenVector([<BufRd.ar()[0]>, <BufRd.ar()[1]>])>
"""

buffer_id = param()
Expand Down Expand Up @@ -55,7 +55,7 @@ class BufWr(UGen):
... source=source,
... )
>>> buf_wr
BufWr.ar()[0]
<BufWr.ar()[0]>
"""

buffer_id = param()
Expand All @@ -73,7 +73,7 @@ class ClearBuf(UGen):
... buffer_id=23,
... )
>>> clear_buf
ClearBuf.ir()[0]
<ClearBuf.ir()[0]>
"""

buffer_id = param()
Expand All @@ -95,7 +95,7 @@ class LocalBuf(UGen):
... frame_count=1,
... )
>>> local_buf
LocalBuf.ir()[0]
<LocalBuf.ir()[0]>
LocalBuf creates a ``MaxLocalBufs`` UGen implicitly during SynthDef compilation:
Expand All @@ -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()
<MaxLocalBufs.ir()>
<LocalBuf.ir()>
<PinkNoise.ar()>
<FFT.kr()>
<IFFT.ar()>
<Out.ar()>
"""

channel_count = param(1)
Expand All @@ -143,7 +143,7 @@ class MaxLocalBufs(UGen):
>>> max_local_bufs = supriya.ugens.MaxLocalBufs.ir(maximum=1)
>>> max_local_bufs
MaxLocalBufs.ir()[0]
<MaxLocalBufs.ir()[0]>
"""

maximum = param(0)
Expand Down Expand Up @@ -187,7 +187,7 @@ class PlayBuf(UGen):
... trigger=1,
... )
>>> play_buf
UGenVector({2})
<UGenVector([<PlayBuf.ar()[0]>, <PlayBuf.ar()[1]>])>
"""

buffer_id = param()
Expand Down Expand Up @@ -219,7 +219,7 @@ class RecordBuf(UGen):
... trigger=1,
... )
>>> record_buf
RecordBuf.ar()[0]
<RecordBuf.ar()[0]>
"""

buffer_id = param()
Expand Down
44 changes: 22 additions & 22 deletions supriya/ugens/chaos.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class CuspL(UGen):
... xi=0,
... )
>>> cusp_l
CuspL.ar()[0]
<CuspL.ar()[0]>
"""

frequency = param(22050)
Expand All @@ -38,7 +38,7 @@ class CuspN(UGen):
... xi=0,
... )
>>> cusp_n
CuspN.ar()[0]
<CuspN.ar()[0]>
"""

frequency = param(22050)
Expand All @@ -64,7 +64,7 @@ class FBSineC(UGen):
... yi=0.1,
... )
>>> fbsine_c
FBSineC.ar()[0]
<FBSineC.ar()[0]>
"""

frequency = param(22050)
Expand Down Expand Up @@ -93,7 +93,7 @@ class FBSineL(UGen):
... yi=0.1,
... )
>>> fbsine_l
FBSineL.ar()[0]
<FBSineL.ar()[0]>
"""

frequency = param(22050)
Expand Down Expand Up @@ -122,7 +122,7 @@ class FBSineN(UGen):
... yi=0.1,
... )
>>> fbsine_n
FBSineN.ar()[0]
<FBSineN.ar()[0]>
"""

frequency = param(22050)
Expand All @@ -147,7 +147,7 @@ class GbmanL(UGen):
... yi=2.1,
... )
>>> gbman_l
GbmanL.ar()[0]
<GbmanL.ar()[0]>
"""

frequency = param(22050)
Expand All @@ -168,7 +168,7 @@ class GbmanN(UGen):
... yi=2.1,
... )
>>> gbman_n
GbmanN.ar()[0]
<GbmanN.ar()[0]>
"""

frequency = param(22050)
Expand All @@ -191,7 +191,7 @@ class HenonC(UGen):
... x_1=0,
... )
>>> henon_c
HenonC.ar()[0]
<HenonC.ar()[0]>
"""

frequency = param(22050)
Expand All @@ -216,7 +216,7 @@ class HenonL(UGen):
... x_1=0,
... )
>>> henon_l
HenonL.ar()[0]
<HenonL.ar()[0]>
"""

frequency = param(22050)
Expand All @@ -241,7 +241,7 @@ class HenonN(UGen):
... x_1=0,
... )
>>> henon_n
HenonN.ar()[0]
<HenonN.ar()[0]>
"""

frequency = param(22050)
Expand All @@ -268,7 +268,7 @@ class LatoocarfianC(UGen):
... yi=0.5,
... )
>>> latoocarfian_c
LatoocarfianC.ar()[0]
<LatoocarfianC.ar()[0]>
"""

frequency = param(22050)
Expand Down Expand Up @@ -297,7 +297,7 @@ class LatoocarfianL(UGen):
... yi=0.5,
... )
>>> latoocarfian_l
LatoocarfianL.ar()[0]
<LatoocarfianL.ar()[0]>
"""

frequency = param(22050)
Expand Down Expand Up @@ -326,7 +326,7 @@ class LatoocarfianN(UGen):
... yi=0.5,
... )
>>> latoocarfian_n
LatoocarfianN.ar()[0]
<LatoocarfianN.ar()[0]>
"""

frequency = param(22050)
Expand All @@ -353,7 +353,7 @@ class LinCongC(UGen):
... xi=0,
... )
>>> lin_cong_c
LinCongC.ar()[0]
<LinCongC.ar()[0]>
"""

frequency = param(22050)
Expand All @@ -378,7 +378,7 @@ class LinCongL(UGen):
... xi=0,
... )
>>> lin_cong_l
LinCongL.ar()[0]
<LinCongL.ar()[0]>
"""

frequency = param(22050)
Expand All @@ -403,7 +403,7 @@ class LinCongN(UGen):
... xi=0,
... )
>>> lin_cong_n
LinCongN.ar()[0]
<LinCongN.ar()[0]>
"""

frequency = param(22050)
Expand Down Expand Up @@ -431,7 +431,7 @@ class LorenzL(UGen):
... zi=0,
... )
>>> lorenz_l
LorenzL.ar()[0]
<LorenzL.ar()[0]>
"""

frequency = param(22050)
Expand Down Expand Up @@ -459,7 +459,7 @@ class QuadC(UGen):
... xi=0,
... )
>>> quad_c
QuadC.ar()[0]
<QuadC.ar()[0]>
"""

frequency = param(22050)
Expand All @@ -484,7 +484,7 @@ class QuadL(UGen):
... xi=0,
... )
>>> quad_l
QuadL.ar()[0]
<QuadL.ar()[0]>
"""

frequency = param(22050)
Expand All @@ -509,7 +509,7 @@ class QuadN(UGen):
... xi=0,
... )
>>> quad_n
QuadN.ar()[0]
<QuadN.ar()[0]>
"""

frequency = param(22050)
Expand All @@ -533,7 +533,7 @@ class StandardL(UGen):
... yi=0,
... )
>>> standard_l
StandardL.ar()[0]
<StandardL.ar()[0]>
"""

frequency = param(22050)
Expand All @@ -556,7 +556,7 @@ class StandardN(UGen):
... yi=0,
... )
>>> standard_n
StandardN.ar()[0]
<StandardN.ar()[0]>
"""

frequency = param(22050)
Expand Down
Loading

0 comments on commit ee5482c

Please sign in to comment.