-
... odd results you get over the first few samples): { var sig = (SinOsc.ar(440, pi.rand) * XLine.kr(1,10, 5)).clip2(1); var val = Crest.kr(sig, 440).poll; Out.ar(0, sig * 0.1.dup); K2A.ar(val); }.plot(5, minval:1, maxval: 4) ) ⧉ ✔ helpfile sou ...
-
... o gravity has been applied. This will be fixed in future versions. f.addTarget([rand(200), rand(200)], rrand(1,3)); // add a target randomly f.targets[0].postln; // prints Dictionary[ (pos -> RealVector2D[ 91, 27 ]), (strength -> 2) ] ⧉ ✔ . ...
-
... uses a Condition implicitly: ( SynthDef(\help, { |out| var mod = LFNoise2.kr(ExpRand(0.5, 2)) * 0.5; var snd = mod * Blip.ar(Rand(200, 800) * (mod + 1)); Out.ar(out, snd); FreeSelf.kr(mod < 0); // free the synth when amplitude goes below 0. ...
-
... ACQUIRE_BUS_CONTROL(index) RELEASE_BUS_CONTROL(index) ⧉ ✔ RGen RGen is a pseudorandom number generator API. Most ugen developers are not interested in seeding their own RGens and would prefer to draw from a global RGen instance supplied by ...
-
... is finished. x = SynthDef("test", { OffsetOut.ar(0, BPF.ar(Impulse.ar(4) * 10, Rand(9000, 1000), 0.1)) }); // this is why addPrepare is used. a.addPrepare(["/d_recv", x.asBytes]); // add is used with synchronous operations, like starting s ...
-
... scroll: true)}; q.tabViews[0].flow({ arg w; 78.do({ arg i; b = Button(w, Rect(rrand(20,300),rrand(20,300), 75, 24)); b.states = [["Start "++i, Color.black, Color.rand], ["Stop "++i, Color.white, Color.red]]; }); }); GUI.slider.new(q.tabVie ...
-
... terns = value Examples ( Pchain( Pbind(\detune, Pseq([-30, 0, 40], inf), \dur, Prand([0.2, 0.4], inf)), Pbind(\degree, Pseq([1, 2, 3], inf), \dur, 1) ).trace.play; ) // also events can be used directly: ( Pchain( Pbind(\degree, Pseq([1, 2, ...
-
... hods Instance methods Inherited instance methods Examples Classes (extension) | Random Simplex Extension Simplex (spatial) noise functions Location: NOT INSTALLED! See also: Perlin3 Description This class is just a group of functions to gen ...
-
... ringAtPoint(value_string,Point(string_x,0)); Pen.stroke; }); v.valueAction_(1.0.rand); } ) ⧉ ✔ helpfile source: /tmp/scquark_hs/FancySlider/HelpSource/Classes/FancySlider.schelp link::Classes/FancySlider::
-
... = BPF.ar(WhiteNoise.ar(amp), freq, 0.01, amp * envgen); Out.ar(0, Pan2.ar(src, Rand(-1.0, 1.0))); }) ); ) // show the args a.args; // create a new instance of CtkNote based on this prototype b = a.note; // set values for its arguments. See ...