-
... ~mktl.elementsDict.size; ~mktl.postElements; // can all elements can be set to random values? // (should post and appear on gui): ~mktl.elementsDict.do(_.valueAction_(1.0.rand)); ""; // do all outputElelements change on device and gui? ~mk ...
-
... in = PlayBuf.ar(1, c, BufRateScale.kr(c), loop: 1); // pitch source - random polyphonic line in2 = Saw.ar(LFNoise0.ar(1!3).exprange(100,5000)).mean; chain = FFT(LocalBuf(fftsize), in, wintype:1); chain2 = F ...
-
... st'>List Prand : ListPattern : Pattern : AbstractFunction : Object embed values randomly chosen from a list Source: ListPatterns.sc See also: Pxrand , Pwrand Description Embed one item from the list at random for each repeat. Class Methods ...
-
... erns playing in parallel, sharing data between eachother */ // a melody playing random scale degrees a = Pbind( \dur, 0.125, \octave, 4, \degree, Plet(\melody, pattern: Pwhite(0, 7)) ); // the bass, scale degrees sampled from the \melody va ...
-
... FFT of size 16384 a = 2048; // kernel buffer g = Buffer .alloc(s, a, 1); ) ( // random impulse response g.set(0, 1.0); 100.do { arg i; g.setn(a.rand, 1.0.rand) }; { var input, kernel; input = SoundIn .ar(0); kernel = PlayBuf .ar(1, g, BufRa ...
-
... = (snd * (1 - mix)) + (DynKlank.ar(`[ // the resonant frequencies are randomized a little to add variation // there are two high resonant freqs and one quiet "bass" freq to give it some depth [240*ExpRand(0.9, 1. ...
-
code:: // simple random keyboard player ( s.boot; s.latency = nil; // make sure we respond quickly thisThread.randSeed = 2014; k = KeyPlayer(\rand); "qwertzuiopasdfghjklyxcvbnm".do { |char| var note = (midinote: rrand(36, 96), dur: rrand(0. ...
-
... oint dirmul = 1, //same as above, but controlling the frequency of random playback direction changes randmul = 1 //same as above, but for random trigger frequency changes | var start, direction, rand, trig, s ...
-
//example using the RedWaveSystem class. angluar velocity changes at random ( var width= 300, height= 300, w, wgrav, world, n= 50, sys, spook= 0; //--world w= RedWindow("wavesystem test", Rect(128, 64, width, height)).front; wgrav= RedVecto ...
-
... of history buffer; the amount of steps before a value can repeat itself. seed: random seed The 'value0'..'value7' arg ranges are mapped to that of the parameter to which the UMap is connected -- this is an UMapDef definition file part of t ...