4
Ring modulators used as exciter of a waveguide bank.
11
tab_m = HarmTable([1,0,0,0,0,.3,0,0,0,0,0,.2,0,0,0,0,0,.1,0,0,0,0,.05]).normalize()
12
tab_p = HarmTable([1,0,.33,0,.2,0,.143,0,.111])
15
def __init__(self, fport=250, fmod=100, amp=.3):
16
self.mod = Osc(tab_m, freq=fmod, mul=amp)
17
self.port = Osc(tab_p, freq=fport, mul=self.mod)
26
lf = Sine(.03, mul=.5, add=1)
27
rg = Ring(fport = [random.choice([62.5,125,187.5,250]) * random.uniform(.99,1.01) for i in range(8)],
28
fmod = lf * [random.choice([25,50,75,100]) * random.uniform(.99,1.01) for i in range(8)],
31
res = Waveguide(rg.sig(), freq=[30.1,60.05,119.7,181,242.5,303.33], dur=30, mul=.1).out()
b'\\ No newline at end of file'