-
... 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 = ...
-
... 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 ...
-
... , 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) ) ...
-
... 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 ...
-
... r), SampleRate.ir/(widthSamples/2), SampleRate.ir/(widthSamples/2)))); fs = (fs*pi/2).tan**2; ^(fs*((1/(1+(2*fs*rVal)+(fs**2))).sqrt)) } } TangentWindow { *ar { |trig, rVal=0.25, widthSamples=8192| var slew = Slew.ar( 1-Trig1.ar(trig, width ...
-
... 0 ], sig, point, dbRollOff ); polar = point.asPolar; angle = polar.angle.fold(0,pi).linlin(0,pi,1,-1,\none); amp = (0.15 / polar.rho).min( 1 ); pankr = Pan2.kr( 1, angle ).max(amp); Out.ar( bus, UGlobalEQ.ar( panned ) * pankr * UEnv.kr ); } ...
-
... nt will be at the front of the soundfield. rotate: rotate the field clockwise (-pi - pi) numChannels: number of points on the circle order: ambisonic input order (1-7) mode: ambisonic mode (ambix - a.k.a. acn-sn3d, acn-n3d, fuma) this is an ...
-
... 0 ], sig, point, dbRollOff ); polar = point.asPolar; angle = polar.angle.fold(0,pi).linlin(0,pi,1,-1,\none); amp = (0.15 / polar.rho).min( 1 ); pankr = Pan2.kr( 1, angle ).max(amp); Out.ar( bus, UGlobalEQ.ar( panned ) * pankr * UEnv.kr ); } ...
-
... er, clickCount, absoluteZ, rotation; // var theta = Point(tiltx, tilty).theta*(-pi).reciprocal - 0.5; controllers[0].setAll([x, y]); controllers[1].setAll([tiltx, tilty]); controllers[2].setAll([pressure]); }; view.action = { arg view, x, y ...