-
BhobLoShelf { *ar {|in, freq, amp| var wc, a0, allpass; wc=pi * freq * SampleDur.ir; a0=(1 - wc)/(1 + wc); allpass=FOS.ar(in, a0.neg, 1, a0, -1); ^(0.5 * (in + allpass + (amp * (in-allpass)))) } } BhobHiShelf { *ar {|in, freq, amp| var wc, ...
-
... h' to the new image. 0 allows the original to pass through to both speakers, 0.5pi represents the widest difference, pi basically gives you an inverted signal between the two speakers. filtsPerOctave tells the UGen how to split the spectrum ...
-
... ^ #["UGens>Buffer"] } } BufMin : BufMax {} /* {ArrayMax.ar(SinOsc.ar(1000, [0, pi]))}.plot(1) {ArrayMax.kr(SinOsc.kr(1000, [0, pi]))}.plot(1) */ ArrayMax : MultiOutUGen { *ar { | array | ^this.multiNewList(['audio'] ++ array.asArray) } *kr ...
-
... e 2 D data with a sinusoidal relationship: s.boot; ~toydata = { var num; num = 2pi.rand; [num - pi / pi, num.sin]}.dup(10000); // Let's plot the data - looks just like noise? ~toydata.flatten.plot(numChannels: 2); // The following will plot ...
-
ZLPF { *ar { arg in, fc=440, damping=0.707, mul=1, add=0; var b0, b1, b2, a0, a1, a2; var c, cc, twodC; var out; out = in; damping.asArray.do({ arg df; c = (pi * fc/SampleRate.ir).tan.reciprocal; cc = c.squared; twodC = 2 * df * c; b0 = (1 ...
-
... th it here // azim = pointsource.theta + ((pointsource.rho < 0).binaryValue.neg*pi); // azim = pointsource.theta + ((pointsource.rho < 0) * pi); azim = pointsource.theta + (BinaryOpUGen.new( '<', pointsource.rho, 0 )* pi); // Must add // bi ...
-
... andNum; randNum = 0.5; while({ randNum == 0.5; // to avoid discontinuity at tan(pi/2) },{ randNum = 1.0.rand; }); ^( (spread * tan(randNum * pi)) + this ) } /* Gaussian Distribution (aka Normal Distribution) Generates a bell-shaped curve ce ...
-
... 000), 1.0); Out .ar(0, Pan2 .ar(output[0])); }.play ) //transient detection via Pitch hasFreq output //could have freq input and transient detection input to SMS to control rendering ( { var in, fft, sines, noise, freq, hasFreq; //in= Sound ...
-
... anwidth); ~data = ~dataspacechanwidth.collect{ |index| ((0..~dataspacelength)*2*pi/~dataspacelength).sin * ((8 * index/~dataspacechanwidth).sin) } //~data.heatMap(title: "training data (array)"); // You need the "heatMap" quark to run this ...
-
... anwidth); ~data = ~dataspacechanwidth.collect{ |index| ((0..~dataspacelength)*2*pi/~dataspacelength).sin * ((8 * index/~dataspacechanwidth).sin) } //~data.heatMap(title: "training data (array)"); // You need the "heatMap" quark to run this ...