-
... anchesterEncodeNegative, {|out= 0, amp= 1, rate= 1000| var numBits= 8; var buf= LocalBuf(1).set(1); var env= EnvGen.ar(Env(#[1, 1, 0], [16/rate, 0]), doneAction:2); var data= Control.names([\data]).ir(Array.fill(numBits, 0)); var src= Duty. ...
-
... , longRate = 6| var sig, chain, loudness; sig = In.ar(in, 1); chain = FFT(LocalBuf(1024), sig); loudness = Loudness.kr(chain) / 64.0; // The original paper uses an algorithm called "TC LARM" that has an // adjustable window size ...
-
... oom*fftSize.reciprocal); var signal, chain, phasor, numSamples; var fftbufnum= {LocalBuf(fftSize, 1)}!~openbci.numChannels; numSamples= (fftSize-2)*0.5; signal= In.ar(bus, ~openbci.numChannels); chain= FFT(fftbufnum, signal, hop:0.125, wint ...
-
... *SinOsc.ar(1/(2*trigPeriod)).abs*0.5; sig = sig.collect({ |item, i| chain = FFT(LocalBuf(fftSize), item, hop: 1.0, wintype: 0); chain = PV_Diffuser(chain, 1-trig1); chain = PV_BrickWall(chain, hiPass); chain = PV_BrickWall(chain, lowPass-1) ...
-
... var a, b, c, d, e, f, g, h, i, rampsig, trigt, latcht, slope, dir, timet; buf = LocalBuf.newFrom( 0! (numReadHeads+1) ); maxScale = maxScale.lag2(robLag*5); // first scale all in arg sigs; #e, g = LinExp.kr([ c_5e, c_7g], 0, 1, minScale, ma ...
-
... clock,sig; // this is the rumbler as described for the blippoo box var buffer = LocalBuf(8);// i am sure it could be implemented without buffer var pos = Stepper.ar(clock,0,0,7,1); var w = BufWr.ar(sig,buffer,pos); var r1 = BufRd.ar(1,buffe ...
-
... ock,sig; // this is the rumbler as described for the blippoo box var buffer = LocalBuf(8);// i am sure it could be implemented without buffer var pos = Stepper.ar(clock,0,0,7,1); var w = BufWr.ar(sig,buffer,pos); var r1 = BufRd.ar(1 ...
-
... snd = PlayBuf.ar(1, b, BufRateScale.kr(b), loop: 1); reset = Onsets.kr(FFT(LocalBuf(512), snd), 0.5); snd = ~stutter.(snd, reset, 0.05); snd = DelayC.ar(snd, 0.2, 0.2); snd!2 * 0.3; }.play; ) // "scrambler" -- rando ...
-
... , playbufnum, BufRateScale.kr(playbufnum), 1, 0, 0))/numChannels; }); fft = FFT(LocalBuf(fftsize,1),input); //(,wintype:1); onsetoutput = Onsets.kr(fft, threshold, odftype, relaxtime,floor, mingap, medianspan, whtype); trig=HPZ1.kr(onsetout ...
-
... HilbertHRe is built with DelayN . Method *arConv also includes Convolution2 and LocalBuf . Class Methods . ar Arguments: in The input signal to transform. size The size of the kernel used for Hartley Phasing filtering. mul Output will be mu ...