-
... lows setting. Examples Ndef(\test, { |freq=200| Splay.ar(SinOsc.ar(freq * Array.rand(12, 0.95, 1.05))) }); Ndef(\test).play(vol: 0.1); Ndef(\test).gui(4) Ndef(\test).set(\freq, 300); // 3 midi steps == 0.02362; Ndef(\test).softSet(\freq, 32 ...
-
... ons, accent patterns, etc. ( // 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 ); P ...
-
... in response to next and reset. Here is a FuncStream that represents an infinite random sequence: ( var a; a = FuncStream.new({ #[1, 2, 3, 4].choose }); 5.do({ a.next.postln; }); // print 5 values from the stream ) ⧉ ✔ Another useful subclas ...
-
... e, #[66, 0, 1]); // note off x.set(\note, #[60, 0, 1]); x.set(\startPosSecs, 30.rand, \note, #[60, 1, 1]); x.free; // open up GUIs for monitoring if (~plotTree == nil, { ~plotTree=s.plotTree;}); if (~makeGui == nil, { ~plotTree=s.makeGui;}) ...
-
... var currVals = this.getUni, jump; if (currVals.size < 1) { this.setUni(nil, 1.0.rand); } { jump = rrand(currVals.minItem.neg, 1-currVals.maxItem); this.shiftRange(jump, \stop) }; this.doAction }, $R: { |uv, mod| this.setUni(nil, this.makeVa ...
-
... eo position CombL .ar( // a comb filter used as a string resonator Dust .ar( // random impulses as an excitation function // an array to cause expansion of Dust to n channels // 1 means one impulse per second on average Array .fill(n, 1), 0 ...
-
... lculates at audio/control rate or at initialization only (ir). Some UGens, like Rand , use the *new method instead. These methods are implemented in subclasses, where argument names and their meaning depend on the case. If any argument is a ...
-
... bol).parentGroup_(g).put(0, { Silent.ar }).play }; fork { 100.do { ().play; 0.3.rand.wait } }; renamed these to plotTree2 and plotTreeView2 for now, so they do not overwrite newer implementation in main SC. Need to look whether anything is ...
-
... set to nil if unneeded. The default behaviour with all nil is a phrasefunc that randomly selects any index up to procs.size. Inherited class methods Instance Methods . initMultiProc Arguments as for new. All other methods override the base ...
-
... uencing // s.boot; s.sendMsg(\b_alloc, 10, 128); m = #[0, 3, 5, 7, 10]; a = ({ rrand(0, 15) }.dup(16).degreeToKey(m) + 36).midicps; s.performList(\sendMsg, \b_setn, 10, 0, a.size, a); ( SynthDef(\stepper, { |out| var rate, clock, index, fre ...