2 summary:: Combine low and high bins from two inputs.
7 Copies low bins from one input and the high bins of the other.
26 Can range between -1 and +1.
30 code::wipe:: == 0, then the output is the same
36 code::wipe:: > 0, then it begins replacing
38 code::bufferB:: from the bottom up.
42 code::wipe:: < 0, then it begins replacing
44 code::bufferB:: from the top down.
51 b = Buffer.read(s, Help.dir +/+ "sounds/a11wlk01.wav");
54 SynthDef("help-binWipe", { arg out=0;
55 var inA, chainA, inB, chainB, chain;
56 inA = WhiteNoise.ar(0.2);
57 inB = LFSaw.ar(100, 0, 0.2);
58 chainA = FFT(LocalBuf(2048), inA);
59 chainB = FFT(LocalBuf(2048), inB);
60 chain = PV_BinWipe(chainA, chainB, MouseX.kr(-1, 1));
61 Out.ar(out, 0.1 * IFFT(chain).dup);
66 SynthDef("help-binWipe2", { arg out=0, soundBufnum=2;
67 var inA, chainA, inB, chainB, chain;
68 inA = WhiteNoise.ar(0.2);
69 inB = PlayBuf.ar(1, soundBufnum, BufRateScale.kr(soundBufnum), loop: 1);
70 chainA = FFT(LocalBuf(2048), inA);
71 chainB = FFT(LocalBuf(2048), inB);
72 chain = PV_BinWipe(chainA, chainB, MouseX.kr(-1, 1));
73 Out.ar(out, 0.1 * IFFT(chain).dup);
74 }).play(s, [\soundBufnum, b]);