-
... hpf1, hpf2; noise = WhiteNoise.ar(1)+SinOsc.ar([filterfreq/2,filterfreq/2+4 ], pi*0.5, XLine.kr(1,0.01,4)); //noise = PinkNoise.ar(1)+SinOsc.ar([(filterfreq)*XLine.kr(1,0.01,3), (filterfreq+4)*XLine.kr(1,0.01,3) ], pi*0.5, XLine.kr(1,0.01, ...
-
... s a single beam from an ambisonic soundfield signal. angle: angle of the beam (-pi - pi) elevation: elevation of the beam (-0.5pi, 0.5pi) amp: amplitude (0-1) mode: ambisonic mode (ambix - a.k.a. acn-sn3d, acn-n3d, fuma) this is an Udef def ...
-
... : radius from center angleOffset : angleOffset of first speaker (0 = right, -0.5pi is top) SpatioScope .ringPos(5); SpatioScope .ringPos(8); *ring(num, radius, angleOffset, server, parent, bounds) // make a SpatioScope for a ring num , radi ...
-
... Pen.color = if (curr > 0, colorUp, colorDown); Pen.addAnnularWedge(0@0, 16, 20, pi, curr * 2pi); Pen.fill; // plus arrow tip triangle Pen.rotate(curr * 2pi + pi).translate(18, 0); Pen.moveTo(7@0).lineTo(-7@0).lineTo(0@ 10 * curr.sign).lineT ...
-
... / unitSize).floor.asInteger + ii) + 1).asString, Rect.aboutPoint( movePt.rotate(pi), 20, 15) ); }); }); }; Pen.color = Color.red(0.5, 0.5); Pen.font = Font( Font.defaultSansFace, 14 ); Pen.use({ Pen.translate( *(arrayConf.centerPoint).asArr ...
-
... Right, drawBottom,rotPoint,moveBy,rotPointText,drawRectText, drawRectText2,rot1=pi/2,rot2=0, tabLabelView=tab.widget, label=tab.label; followEdges.if{ switch(tabPosition) {\top}{rot1=0;rot2=0} {\left}{rot1=pi;rot2=pi/2} {\bottom}{rot1=pi;ro ...
-
... Channels; // setter added for matrix-to-file & file-to-matrix support // most typically called by subclass *new { |kind| ^super.new(kind).init } *newFromMatrix { |matrix, directions| ^super.new(\fromMatrix).initFromMatrix(matrix, directions ...
-
... ig = partialCount.collect { |n| var offset = n / partialCount; var phase = (3 * pi / 2) + (2 * pi * offset); var vol = SinOsc.kr(cycle, phase).range(0, 1); var ratio = VarSaw.kr(cycle, offset, width).exprange(1/octRange, octRange); SinOsc.a ...
-
... | // in radians // do not allow values of 0 dAzimuth = newD.clip(AmbXEnc.delta,2pi); if (internal) { world.sendMsg(\width,this); } } dElevation_ { |newD,internal=true| // in radians var e = this.locSph.elevation; // do not allow values of 0 ...
-
... (in hz). *newFreq { |freq, speedOfSound = (AtkHoa.speedOfSound)| ^this.new(2 * pi * freq / speedOfSound); } // Set wavenumber from normalised frequency. *newWn { |wn, sampleRate, speedOfSound = (AtkHoa.speedOfSound)| ^this.new(pi * wn * sa ...