-
... ReceiveDrag Inherited instance methods Undocumented instance methods background randomize Examples Classes | GUI > Views'>Views Slider2D : QAbstractStepValue : AbstractStepValue : View : QObject : Object A view with a handle movable in two ...
-
... te = 1, pan, amp=0.1; var out, eg, fc, osc, a, b, w; fc = LinExp.kr(LFNoise1.kr(Rand(0.25,0.4)), -1,1,500,2000); osc = Mix.fill(8, { LFSaw.ar(freq * [Rand(0.99,1.01),Rand(0.99,1.01)], 0, amp) }).distort * 0.2; eg = EnvGen.kr(Env.asr(1,1,1), ...
-
... ,12000,'exponential'))}.play //less efficient than LFTri { Mix(DPW3Tri.ar(Array.rand(10,50,5000))*0.1) }.play; { Mix(LFTri.ar(Array.rand(10,50,5000))*0.1) }.play; //triangle is integration of square wave; warning loud, not so kind {Integrat ...
-
... nly to the item currently selected. Whenever you execute the following example, random colors will be applied to different aspects of the views: ( w = Window("GUI Introduction").background_(Color.rand).front; b = Button(w, Rect(10,10,100,30 ...
-
... lue Examples ( var a; a = Prout({ loop { 1.yield; 2.yield; 7.yield; 10.do { 1.0.rand.yield } } }); a.asStream.nextN(100).plot; ) // sound example ( SynthDef(\help_sinegrain, { |out = 0, freq = 440, sustain = 0.05| var env; env = EnvGen.kr(E ...
-
... 5; //number of centroids ~www= world; //--objects { var loc= RedVector2D[width.rand, height.rand]; var vel= RedVector2D[0.3.rand2, 0.3.rand2].round(0.1); RedObject(world, loc, vel, 0, 1, 3); //world,loc,vel,acc,mass,size }.dup(n); kmeans= ...
-
... guments g.positionStart_({|o| o}); //no change g.positionStart_({|o, i| [0, 0.2.rand, 0.5].foldAt(i)});//pattern with random element g.positionStart_({|o| o+0.0015.rand2}); //minimal drunk g.positionStart_({|o| o+0.01.rand2}); //little drun ...
-
... Saw.ar(40, 0.1)]) }.play ( play({ Mix.new(Array.fill(8, { SinOsc.ar(500 + 500.0.rand, 0, 0.05) })); })) ( play({ Mix.fill(8, { SinOsc.ar(500 + 500.0.rand, 0, 0.05) }); })) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Class ...
-
... aw less efficient than the already band limited Saw UGen { Mix(DPW4Saw.ar(Array.rand(100,50,5000))*0.01) }.play; { Mix(Saw.ar(Array.rand(100,50,5000))*0.01) }.play; ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/Extensions/SC3plugins/A ...
-
... a = BusPlug.for(z); m = { Mix(SinOsc.ar(a.kr(16), 0, 0.1)) }.play; z.setn(Array.rand(16, 300, 320).put(16.rand, rrand(500, 1000))); z.setn(Array.rand(16, 300, 320).put(16.rand, rrand(500, 1000))); z.setn(Array.rand(16, 300, 320).put(16.rand ...