-
... tance, in terms of frequency by the relationship: (order * speedOfSound) / (2 * pi * freq) . Arguments: freq Frequency, in Hz. order Ambisonic order. Def. AtkHoa.defaultOrder speedOfSound Speed of sound, in meters per second. Def. AtkHoa.sp ...
-
... CNumberBox (w, Rect (0, 0, 56, height+2)); n.font = Font (name, 13); n.object = pi; f.nextLine; }); w.front; ) ( var w,f,i=0; w = SCWindow ( "Fonts" , Rect (128, 64, 820, 760)); b = SCScrollView (w, w.view.bounds); b.decorator = f = FlowLay ...
-
... parent, bounds| ^super.new.init; } *initClass { // Those classes needs to be compiled // BEFORE we can compile this particular class Class.initClassTree(Pen); Class.initClassTree(GMStyle); } // Custom init function, to be called by subclass ...
-
... odd number) env = Env.perc( attackTime: att, releaseTime: rel, level: preamp * pi/2, curve: crv).ar(doneAction: 2); //Sets the phase offset of the folder and prevents clicking: offset = Line.ar(0, phaseOffset.mod(1) * 2pi, 0.001); //The so ...
-
... y = stageRect.height}); xOffset = (wanderCircleRadius * cos(wanderCircleAngle * pi/90) ) * speed; yOffset = (wanderCircleRadius * sin(wanderCircleAngle * pi/90) ) * speed; destpoint.x = point.x + xOffset; destpoint.y = point.y + yOffset; if ...
-
... in turn and re-running the synth: [mags * {1.5.rand}.dup(mags.size), phases + {pi.rand}.dup(phases.size)]; // Arbitrary filter, arbitrary phase shift //[mags.reverse, phases.reverse]; // Upside-down! //[mags.differentiate, phases.different ...
-
... nal and a copy of that signal that has been shifted in phase by 90 degrees (0.5 pi radians). HilbertFIR outputs two channels containing the input signal and the transformed signal. HilbertFIR uses FFTs and a 90 degree phase shift to transfo ...
-
... ollect({ |degree| if(degree == 0, { 1.0 }, { if(degree > effOrder, { 0.0 }, { ((pi * degree / effOrder).cos + 1.0) / 2.0 }) }) }) }, \sin, { this.foclWeights(freq, radius, \cos, speedOfSound).sqrt }, { // \reg 2.0 / (1.0 + wavNum.proxWeight ...
-
... sub).tanh; sig = RLPF.ar([sig, sig/2], freq*4 * (LFNoise2.ar(0.5).range(1,10)/pi).lagud([0.2, 0.5]).lagud , 1); sig = Compander.ar(sig, SinOsc.ar(dur), 0.7,0.2,1,0.001,0.05); sig = LPF.ar(sig, 4000).fold2; sig = LPF.ar(sig, 4000); ...
-
... er "1" for an initial phase of 0 radians. A value of 0 would start the cycle at pi radians. See the example below. mul Output will be multiplied by this value. add This value will be added to the output. Inherited class methods Instance Met ...