-
... t = v = VLayout(); a.front; fork({ 10.do { v.add(h = HLayout()); 20.rand.do { h.add(Slider()); 0.1.wait; }; 1.wait; }; }, AppClock) ) ( a = Window(); a.layout = v = VLayout(); a.front; fork({ var or; 10. ...
-
... var input ; input = In.ar(0, 2); 8.do({ input = AllpassC.ar(input, 0.04, { Rand(0.001,0.04) }.dup, Rand(0.5, 3.0) )}); ReplaceOut.ar(out, input); } ).play; SynthDef("weiweiwei", { | out=0, pitch=300, pan=0, decay=1, mix=0 ...
-
... { Pan2 .ar( Mix .new( Gendy3 .ar(3,5,1.0,1.0,( Array .fill(5,{ LFNoise0 .kr(1.3.rand,1,2)})* MouseX .kr(100,378, 'exponential' )), MouseX .kr(0.01,0.05), MouseY .kr(0.001,0.016),5,mul:0.1)))}.play ) //play me { Pan2 .ar( RLPF .ar( Gendy3 .a ...
-
... e(false); /* test buttons from remote: q.addrSC.sendMsg('/inputs/digital', 0, 2.rand); q.addrSC.sendMsg('/inputs/digital', 1, 2.rand); q.addrSC.sendMsg('/inputs/digital', 2, 2.rand); q.addrSC.sendMsg('/inputs/digital', 3, 2.rand); */ /* // ...
-
... \n" ++ WinBounds.saveString); // jumble Window.allWindows.do(_.bounds_(Rect(800.rand, 800.rand, 300, 300))); // restore one WinBounds.restore("abc"); // restore one window by name WinBounds.restoreAll; // restore all of them /// save curren ...
-
... T c.server = s; v = CompositeView(w, Rect(400, 10, 380, 380)).background_(Color.rand(0.7)); v.decorator = n = FlowLayout(v.bounds, margin: 0@0, gap: 5@5); a = StaticText(v, Rect(20, 70, 90, 20)).string_(" xZoom = 1").background_(Color.rand) ...
-
... TEST SPEED/START/END */ ( Tdef(\x, { loop { ~d1.((sound: '808cy:10', speed: 2.0.rand2, accelerate:2.5.rand2)); (0.2 * [1, 2, 1/3]).choose.wait; } }).play; ) ( Tdef(\x, { loop { ~d1.((sound: ~dirt.buffers.keys.choose, speed: 2.0.rand2, accel ...
-
... h, height], wgrav, 99, 0); //dim,grav,maxvel,damp //--interface ~initSize= {1.1.rand}; //object size at creation ~distance= 4; //collision min distance //--objects - the first one always in the middle RedObject(world, RedVector2D[width*0.5, ...
-
... h, height], wgrav, 99, 0); //dim,grav,maxvel,damp //--interface ~initSize= {1.1.rand}; //object size at creation ~distance= 4; //collision min distance //--objects - the first one always in the middle RedObject(world, RedVector2D[width*0.5, ...
-
Play around with {Rand(70, 21000)}!7 A simple example for the begginers... hope I can contribute to something =) ( SynthDef(\Synth3, {arg ress = 0; var klank, env; klank = Klank.ar(`[{Rand(70,21000)}!7, {Rand(0.128,0.700)}!7],Br ...