-
... 2 = 0; var inA, chainA, inB, chainB, chain ; inA = PlayBuf .ar(1, soundBufnum1, BufRateScale .kr(soundBufnum1), loop: 1); inB = PlayBuf .ar(1, soundBufnum2, BufRateScale .kr(soundBufnum2), loop: 1); chainA = FFT ( LocalBuf (2048), inA); cha ...
-
... 2 = 0; var inA, chainA, inB, chainB, chain ; inA = PlayBuf .ar(1, soundBufnum1, BufRateScale .kr(soundBufnum1), loop: 1); inB = PlayBuf .ar(1, soundBufnum2, BufRateScale .kr(soundBufnum2), loop: 1); chainA = FFT ( LocalBuf (2048), inA); cha ...
-
... " , { arg out=0, soundBufnum=2; var in, chain; in = PlayBuf .ar(1, soundBufnum, BufRateScale .kr(soundBufnum), loop: 1); chain = FFT ( LocalBuf (2048), in); chain = PV_MagShift (chain, MouseX .kr(0.25, 4, \exponential ) ); Out .ar(out, 0.5 ...
-
... " , { arg out=0, soundBufnum=2; var in, chain; in = PlayBuf .ar(1, soundBufnum, BufRateScale .kr(soundBufnum), loop: 1); chain = FFT ( LocalBuf (2048), in); chain = PV_BinShift (chain, MouseX .kr(0.25, 4, \exponential ) ); Out .ar(out, 0.5 ...
-
... d whitenoise ( x = { var in, in2, chain, chainB, chainC; in = PlayBuf .ar(1, d, BufRateScale .kr(d), loop: 1) * 2; in2 = WhiteNoise .ar; chain = FFT ( LocalBuf (2048), in); chainB = FFT ( LocalBuf (2048), in2); chainC = PV_Copy (chain, Loca ...
-
... rmal, shifted }.scope; ) ( { var in, chain, chainB, pan; in = PlayBuf .ar(1, d, BufRateScale .kr(d), loop: 1) * 2; chain = FFT (b, in); chainB = PV_Copy (chain, c); pan = MouseX .kr(0.001, 1.001, 'exponential' ) - 0.001; chain = PV_BrickWal ...
-
... intless! ( x = { var sig, chain, unp; sig = SinOsc .ar; sig = PlayBuf .ar(1, c, BufRateScale .kr(c), loop: 1); chain = FFT (b, sig); // Using the frombin & tobin args makes it much more efficient, limiting analysis to the bins of interest u ...
-
... out=0, bufnum=0, soundBufnum=2; var in, chain; in = PlayBuf .ar(1, soundBufnum, BufRateScale .kr(soundBufnum), loop: 1); chain = FFT(LocalBuf(2048), in); chain = PV_MagSquared (chain); Out .ar(out, 0.003 * IFFT (chain).dup); }).play(s,[ \ou ...
-
... unds/a11wlk01.wav" ); // indexing with a phasor { BufRd .ar(1, 0, Phasor .ar(0, BufRateScale .kr(0), 0, BufFrames .kr(0))) }.play; // indexing by hand { BufRd .ar(1, 0, K2A .ar( MouseX .kr(0, BufFrames .kr(0)))) }.play;
-
... is perfect for driving BufRd. (See note above) { BufRd .ar(1, b, Phasor .ar(0, BufRateScale .kr(b), 0, BufFrames .kr(b))) }.play; // two phasors control two sound file positions: mouse y controls resetPos of the second ( { var trig, rate, ...