-
//agents. swap in new agents now and then //with mouse controlling world gravity //with sound where fmamount and rmamount depends on the distance to other agents ( s.waitForBoot{ var width= 300, height= 300, w, wgrav, world, n= 4, objsFunc, ...
-
... 0), 200, i + 3 * 100)) }, spread, level, width, center ); }.scope; ) // or with mouse control ( x = { var src; src = SinOsc.ar({ |i| LFNoise2.kr(rrand(10, 20), 200, i * 100 + 400) } ! 10); SplayZ.ar(4, src, MouseY.kr(1, 0), 0.2, center: Mou ...
-
... 16), 0, read).lag(0.01) * [1, 1.01] ) * 0.1 }.play; ) // write into buffer with mouse clicks ( { var val = MouseY.kr(1000, 200, 1); // cursor y pos controls frequency var pos = MouseX.kr(0, BufFrames.kr(b) - 1); // cursor x position control ...
-
... rawNewPoint prDrawPoints prFillShape prGetHandlePositions prGetPointPositions prMousePosInbounds prMoveHandle prMovePoint prRemovePoint Inherited instance methods Examples Classes (extension) | GUI > Graphical Module'>Graphical Module GMCur ...
-
... dexL ( { var buf = LocalBuf.newFrom((0..5).scramble); var freq = IndexL.kr(buf, MouseX.kr(0, BufFrames.kr(buf))).poll * 100 + 40; Saw.ar(freq * [1, 1.1]) * 0.1 }.play; ) // DetectIndex ( { var buf1 = LocalBuf.newFrom((0..5).scramble); var b ...
-
... default = s = Server.internal; s.boot s.scope // Amplitude will be polled, move mouse to change frequency {var x; x = SawDPW.ar(MouseX.kr(50, 2000, 1));Amplitude.ar(x, 0.2, 0.2).poll; x.madd(0.1).dup}.play {var x; x = SawDPW.ar(K2A.ar(Mouse ...
-
... it to centre the subject of a field recording. The soundfield is controlled by MouseX , which specifies the rotation angle (pi to -pi; left to right of display). If you haven't already choosen a ~decoder and defined ~renderDecode , do so n ...
-
... ds Instance Methods Inherited instance methods Examples s.boot; ( { // Move the mouse. This varies from sinewave (left) to almost-square (right) var sig = (SinOsc.ar(MouseY.kr(100, 1000, 1)) * MouseX.kr(1,10)).clip2(1); var val = Crest.kr(s ...
-
... ynthDef(\in_grain_test, { |out, gate = 1, amp = 1, envbuf| var pan, env; // use mouse x to control panning pan = MouseX.kr(-1, 1); env = EnvGen.kr( Env([0, 1, 0], [1, 1], \sin, 1), gate, levelScale: amp, doneAction: Done.freeSelf); Out.ar(o ...
-
... ing -strings and -setString . Interaction Nodes can be selected and moved using mouse. Shift-clicking a node will add it to the selection. You can also move selected nodes and change selection using keyboard. Pressing the arrow keys will mo ...