26
26
upsamp(IN_SND, UP_SND, UP, SIZE)
28
28
print "Apply distortion at a sampling rate of %i Hz." % (SR*UP)
29
s = Server(sr=SR*UP, nchnls=1, duplex=0, audio="offline").boot()
30
30
s.recordOptions(dur=DUR+.1, filename=PROC_SND, fileformat=0, sampletype=0)
31
31
sf = SfPlayer(IN_SND, loop=False, interp=4, mul=0.7)
32
32
dist = Disto(sf, drive=0.75, slope=0.7, mul=0.3)