-
PRand: Filter: Description Class methods new Inherited class methods Instance methods Inherited instance methods Examples Classes (extension) | Streams-Patterns-Events > UGenPatterns'>UGenPatterns > UGenPatterns>Generators'>Generators PRand ...
-
... Action:2) }.play ) // Linear ( b = LinearSpline( Array.fill(60,{ arg i; [ i,1.0.rand ] }) ); b.gui(nil,1200@300); ) ( { PinkNoise.ar * SplineGen(b).kr(doneAction:2) }.play ) ⧉ ✔ . readKr Plays the spline with a modulatable position input. A ...
-
... instead returns nil ) // variables can be assigned later ( ~a = 800; ~b = { 1.0.rand }; ~c.value; ) // variables can be exchanged later ( ~b = { 1000.rand }; ~c.value; ) ⧉ ✔ . copy Copies the environment into a new one, with each placeholde ...
-
... line , SplineGui. Description (put long description here) ( l = BSpline({ { 4.0.rand } ! 2 } ! 9); l.gui ) ⧉ ✔ Class Methods Inherited class methods Instance Methods . guiBody (describe method here) Arguments: layout (describe argument here ...
-
... . LanguageConfig.postInlineWarnings_(true) // warn if(0.5.coin) { var x; x = 10.rand; x + 1 } { 10 }; LanguageConfig.postInlineWarnings_(false) // ignore it. if(0.5.coin) { var x; x = 10.rand; x + 1 } { 10 }; ⧉ ✔ Inherited class methods Ins ...
-
... , one can do all sorts of things there. Here, we have three targets and several random obstacles. The function in moveFlock() moves the targets and adjusts their gravity such that when no agents are close by (attacking, one can imagine), th ...
-
... timeScale: ts) ) }).add; ) ( r = Routine({ 12.do({ Synth("fm2", [\freq, 400.0.rrand(1200), \carPartial, 0.5.rrand(2), \ts, 0.1.rrand(4)]); 2.wait; }) }); ) r.reset.play; ⧉ ✔ ///////////////////////////////////////////////////////////////// ...
-
... sr,gate,0.2, doneAction: 2) },[ Pseq((70 + [ 0, 1, 5, 6, 10 ]).midicps ,inf) * Prand(2 ** [0,-1,2,-2,-3],inf), // octave shifts 0.2, Patch({ LFTri.kr(0.1,[0.0,0.5],0.5,0.5) }), Env.adsr(0.3,sustainLevel: 0.4), Pbrown(2000,10000,100), Env.ad ...
-
... cing and for updating server side buffers. Interface ( l = LinearSpline({ { 4.0.rand } ! 2 } ! 9); l.gui ) ⧉ ✔ Double click to create a new point. Click a point to select it, hit delete to delete it. Hold down shift-control while moving a p ...
-
... that returns a UGen graph // given a UGen graph ... ( { Splay.ar(SinOsc.ar({ exprand(300.0, 10000.0) } ! 17, 0, { 1.0.rand } ! 17)) * 0.1 }.play ) // ... all existing UGen inputs can be replaced or modified with an arbitrary function // e.g ...