-
... e; }; w.play; CmdPeriod.doOnce({w.close}); ) /* //manual control - add force to random object a.choose.addForceAngular2D(30) a.choose.addForceAngular2D(5) a.choose.addForceAngular2D(-5) */
-
... th'] = "some/path"; result['things'] = [1,2,3]; result['quantity'] = 4; result['random'] = 1024.rand; // the dictionary will be sent as JSON // and available in the browser as a JavaScript object reply.value( result ); }.fork } ); Your quar ...
-
Pscratch : FilterPattern Performs a random walk over a lazy stream of values (unlike Pwalk which takes an eagerly-evaluated list of possible values). This is like scratching a record over an audio stream; hence, Pscratch. *new(pattern, step ...
-
Pscratch : FilterPattern Performs a random walk over a lazy stream of values (unlike Pwalk which takes an eagerly-evaluated list of possible values). This is like scratching a record over an audio stream; hence, Pscratch. *new(pattern, step ...
-
... markov set is to simply leave the data as it is and to iterate over it by doing random jumps and looking for the next matching item. The item that follows that one is the next item of the chain. As this requires searching the data, which ca ...
-
... ,100).asString ++ " " ++ rrand(0,100).asString); 0.1.yield}}.fork}, "routine of random adding" ], [ 'stopTask', [ 'str' ], {a.stop}, "stop add routine" ], [ 'add', [ 'str', 'num', 'arr' ], {|str, num, arr| (num + arr).postln;}, "adds one nu ...
-
... is a FloatArray a stream of scales is a sequential series of these arrays ( // random pentatonics p = Instr("scaleStream.randpentas"); // returns a pattern when valued x = p.value(4,16,0); Pbind ( \degree , Pseq([1,3,5,7,9,11,3,2],inf), \s ...
-
... highest velocity value 'softest': use the note with the lowest velocity value 'random': randomly pick a note from the currently playing notes 'arp_up': index through the currently playing notes from low to high 'arp_down': indext through t ...
-
... plingRate(rate); this.setFilterCutoff(cutoff); data= {1024.rand}!4; //fill with random data inf.do{ if(mute.not, { data= (data+({0.gauss(10)}!4)).asInteger.clip(0, 1023); action.value(*data); }); (1/sr).wait; }; }).play(SystemClock); } clos ...
-
... nstrument: \glisson, freq: envir.freq ).play; 1.wait; }; }); // set a range for random freq values: Tdef(\tink).set(\minfreq, 400); Tdef(\tink).set(\maxfreq, 4000); Tdef(\tink, { |envir| 32.do { var freq = exprand(envir.minfreq, envir.maxfr ...