-
... x structures of objects can thus be restored. Writing an object to file as a compile string is usually more readable, but does not account for the internal structure of the object. See also: Library , Object , LibraryBase , writeAsPlist The ...
-
... [800, 1000, 1200] + SinOsc .kr([2, 3, 4.2], 0, [13, 24, 12]), [0.3, 0.3, 0.3], [pi,pi,pi] ] ) * 0.1 }; ) // building new synths every 2 seconds ( { loop({ play({ var mod = SinOsc .kr( Rand (0.1, 0.9), 0, Rand (5, 20)); Pan2 .ar( DynKlang .a ...
-
... / 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 = { arg vals; v ...
-
... n(angle) * yin; yout = cos(angle) * yin - sin(angle) * xin; where angle = pos * pi, so that -1 becomes -pi and +1 becomes +pi. This allows you to use an LFSaw to do continuous rotation around a circle. x, y - input signals pos - angle to ro ...
-
... .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.( ...
-
... .ar(1), 0.25, LFCub .ar(1200,0,0.1)) ! 2 + Pan2 .ar( Decay .ar( Impulse .ar(1, pi), 0.1, WhiteNoise .ar(0.1)), LFNoise1 .kr(0.5).range(-1,1) ) ) }).play ) //kick it in z = Synth ( \FreeVerb2x2 , [ \outbus , 0], addAction: \addToTail ) //ex ...
-
... hat order. All of the following are legal calls to that method. SinOsc .ar(800, pi, 0.2, 0); // all normal arguments: freq, phase, mul, add // freq = 800, mul = 0.2, others get default values. SinOsc .ar(800, mul: 0.2); // freq = 800, phase ...
-
... us by some value. rotate(aNumber) Rotate the angle by some value. neg Rotate by pi. Conversion magnitude Answer the radius. angle Answer the angle in radians phase Answer the angle in radians real Answer the real part. imag Answer the imagi ...
-
// audio mapping in ProxySpace // todo. expand(numChannels) message p = ProxySpace .push(s.boot); p.fadeTime = 3; // some filters ~f1 = { |a_in=#[0,0], freq=500, dt=0.01| Ringz .ar(a_in, freq, dt) }; ~f2 = { |a_in=#[0,0], dt=0.1| CombL .ar( ...
-
... g stream ends. see also: Pmulp , Padd ( var a, b; a = Paddp (\freq, Pseq([2, 3, pi],inf), Pbind ( \freq , Pseq([100, 200, 300]))); x = a.asStream; 9.do({ x.next( Event .new).postln; }); ) sound example ( SynthDef ( \sinegrain , { arg out=0, ...