2 summary:: Make gaps in spectrum.
3 related:: Classes/FFT, Classes/IFFT, Classes/PV_RectComb2
8 Makes a series of gaps in a spectrum.
22 Number of teeth in the comb.
27 Starting phase of comb pulse.
32 Pulse width of the comb.
41 b = Buffer.alloc(s,2048,1);
44 SynthDef("help-rectcomb", { arg out=0, bufnum=0;
46 in = {WhiteNoise.ar(0.2)}.dup;
47 chain = FFT(bufnum, in);
48 chain = PV_RectComb(chain, 8, LFTri.kr(0.097, 0, 0.4, 0.5),
49 LFTri.kr(0.24, 0, -0.5, 0.5));
50 Out.ar(out, IFFT(chain).dup);
51 }).play(s,[\out, 0, \bufnum, b.bufnum]);
55 SynthDef("help-rectcomb2", { arg out=0, bufnum=0;
57 in = {WhiteNoise.ar(0.2)}.dup;
58 chain = FFT(bufnum, in);
59 chain = PV_RectComb(chain, MouseX.kr(0, 32), MouseY.kr, 0.2);
60 Out.ar(out, IFFT(chain).dup);
61 }).play(s,[\out, 0, \bufnum, b.bufnum]);