-
... tv = 19, timescale = 1, curve = 0, loopnode = 0| var env = EnvGen.kr( Env({ 1.0.rand2 }!11, { 1.0.rand }!10, curve, releaseNode: 9, loopNode: loopnode), timeScale: timescale); var pitch = (env * [1, 0.33, -1] * intv).midiratio * freq; Splay ...
-
... value; g.elAt(\tr).size; // 11 buttons in tr g.elAt(\tr).value = 11.collect { 2.rand }; // 11 buttons in tr ⧉ ✔ . deviceValue get and set the deviceValue of all elements in the group . prevValue . prevDeviceValue get the previous value or d ...
-
... matchlength: 0.05 , freezestore: 0 , zcr: 1.0 , lms: 1.0 , sc: 1.0 , st: 0.0 , randscore: 0.0 , threshold: 0.01 , mul: 1.0 , add: 0.0 ) Arguments: control audio rate input, acts as control source audio rate input, source for cross-synthesi ...
-
... ok at the following example: ( var n = 8; { Mix.fill(n, { SinOsc.ar(500 + 500.0.rand, 0, 1 / n) }) }.play; ) ⧉ ✔ The Function will be evaluated n times, each time creating a SinOsc with a random frequency from 500 to 1000 Hz (500 plus a ran ...
-
... { |buf, i| var a, n; n = (i+1)*8; a = Array.fill(n, 0); (n>>1).do({ |i| a.put(n.rand, 1) }); s.performList(\sendMsg, \b_gen, buf.bufnum, \sine1, 7, a); }); ) // new harmonics... ( ~bufs.do({ |buf, i| var a, n; n = (i+1)**2; a = Array.fill(n ...
-
... = 0, freq = 400, att = 0.005, rel = 0.1, amp = 0.1| var sig = { SinOsc.ar(freq, Rand(0, 2pi)) } ! 2; sig = sig * EnvGen.ar(Env.perc(att, rel, amp), doneAction: 2); OffsetOut.ar(out, sig); }).add; SynthDef(\saw, { |out = 0, freq = 400, att = ...
-
... 00, 1200],[0.3, 0.3, 0.3],[pi,pi,pi]], 1, 0) * 0.4}.scope(1); { Klang.ar(`[ {exprand(400, 2000)}.dup(16), nil, nil ], 1, 0) * 0.04 }.scope(1); ⧉ ✔ Table Oscillators Osc , COsc , VOsc , VOsc3 - uses a buffer allocated on the server. ( b = Bu ...
-
... = BPF.ar(WhiteNoise.ar(amp), freq, 0.01, amp * envgen); Out.ar(0, Pan2.ar(src, Rand(-1.0, 1.0))); }); ) // create a new instance of CtkNote based on this prototype b = a.note; // set values for its arguments. See the CtkNote helpfile for m ...
-
... . repeats = value Examples ( // select a chord and duration and repeat it for a random time interval p = Pstep( Pbind( \ctranspose, [0, 4, 7], \note, Pwhite(0, 12), \dur, Prand([0.2, 0.4, 0.8], inf) ), Prand([1, 2, 4], inf)/4 ); Ppar([p, p] ...
-
... round-color Inherited instance methods Examples ( var data = 1000.collect{ [1.0.rand, exprand(0.01, 1)]}; w = Window.new(bounds: Rect(40, 40, 800, 800)).front; a = ScatterView(w, Rect(10, 10, 760, 760), data, [0,1].asSpec, [0,1].asSpec); a. ...