-
... nput wave +/- 90 degrees - To use SinOsc.ar, replace: -"iphase: 0" with "phase: pi/2" -"iphase: 1" with "phase: 0" -"iphase: -1" with "phase: pi" */ in = LFPar.ar(freq: freq * 2, iphase: 0); ina = LFPar.ar(freq: freq * 2, iphase: 1); inb = ...
-
... in seconds freq = dur.reciprocal; { // [real,imag] HilbertH.ar( SinOsc.ar(freq, pi/2), // cosine test, one cycle over fftbuffer size size: size); }.loadToFloatArray(overSample * dur, s, { |arr| defer { arr = arr.clump(2).flop; // de-interle ...
-
... urn up the volume and listen to the wavetable. If you read the code, you can pick up a lot of tricks for manipulating FFT data on the client side. For instance, I'm doing the 16x oversampling by expanding a 32-point FFT out to 512 points ...
-
... rho: 1 , gain: 1 , wComp: 0 ) Arguments: in Input signal. azimuth In radians, -pi to pi. elevation In radians, -0.5pi to +0.5pi. rho The speaker radius (1 places shound at the radius, <1 within the radius, >1 is outside the radius) beyond ...
-
... ck) .drawFunc_ ({ var dx, dy, nextP; if(willDraw, { dx = ((headingStack.last * (pi / 180)).sin * drawSize).round; dy = ((headingStack.last * (pi / 180)).cos * drawSize).round; nextP = (pointStack.last.x - dx)@(pointStack.last.y - dy); if(pe ...
-
... em / r.squared * 10 }); r }; x = PstepNfunc(f, [ Pseq([1, 2, 3], inf), Pseq([2, pi, 1]), Pseq([0.1, 3, 0.2, 3]) ] ).asStream; 50.do({ x.next.postln }); ) // note that if the last pattern loops it will stick to that one: ( f = { |vals| vals. ...
-
... , 550, 0.3])\ a.asLaTeX;\ );\ \ \ ( SinOsc .ar( Control .names( \ ).kr(440), 0.5pi, Control .names( \ ).kr(0.2.dup)) * 0.125).asLaTeX;\ \ 0.5pi.asLaTeX\ ( SinOsc .ar(203) ** (1/3)).asLaTeX\ \ \ (\ a = 0;\ 3.do \ a = Blip .ar(a * 30.rand + 3 ...
-
... var polar; point = point.asPoint; polar = [ point.rho, Unwrap.kr( point.theta, -pi, pi) ]; lin = polar.varlag( [timeRho, timeTheta] ); lag = polar.lag3( [timeRho, timeTheta] ); polar = LinXFade2.kr( lin, lag, linear.linlin(0,1,1,-1,\none) ) ...
-
... .8).collect((a: _ )); (1..8).collect { |x| (a:x) }; (1..8).collect( Polar ( _ , pi)); (1..8).collect { |x| Polar (x, pi) }; (1..8).collect((1.. _ )); (1..8).collect { |x| (1..x) }; f = (a: _ , b: _ ); // f is a two argument function g = f.( ...
-
... c }; var shape1 = PenStepShape.polygon(points); var shape2 = PenWedge(p,10,0,2*pi); PenDrawing( [ PenDrawedShapes([shape1], \fill, Color.blue, Color.red), PenDrawedShapes([shape2], \fill, Color.green, Color.red) ] ) }; drawing.collect(w.se ...