-
... that support .rand; specifically NumberEditors will do a gaussian distribution randomization centered on the default value of the ControlSpec. Arguments: standardDeviation for the gaussian randomization in NumberEditors. default 0.15 Retur ...
-
... edSmooth2(0.05, 0.01); a.filter(1.0.rand); //run repeatedly - low pass filtered random data //plot example a= RedSmooth2(0.1, 0.1); ~squarewave= (0..1000).collect{|x| (x%200>100).binaryValue}; ~smoothed= ~squarewave.collect{|x| a.filter(x)} ...
-
... , inf)); { Demand.ar(Impulse.ar(1/rrand(0.001, 0.0015)), 0, x) } ! 3 }.plot; // random values will also be identical { var x = Dunique(Drand([0, 1, 2, 3, 4, 5], inf)); { Demand.ar(Impulse.ar(1/rrand(0.001, 0.0015)), 0, x) } ! 3 }.plot; ⧉ ✔ ...
-
... 400, 200, 0, server: s); // basic sine { SinOsc.ar(2000, 0, 0.25) }.play(s); // random saw { RLPF.ar(Saw.ar(110, 0.2), LFNoise2.kr(1, 1e4, 1e4), LFNoise2.kr(1, 0.2, 0.22)) }.play(s); // modulate phase { SinOsc.ar(800, SinOsc.ar(XLine.kr(20, ...
-
... r playback (float -1..1), or specify pan behavior: \scatter = play each chip at random pan position, \pitch = play chips arrayed by pitch (left low, right high), \pos = pan position matches playhead position in the buffer gain Apply db gain ...
-
... ns 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 ...
-
... n.dump; nil })]).play; }.value; ) // Pseed(seed, pattern) - set the seed of the random number generator // to force repetion of pseudo-random patterns Pn(Pseed(44, Pbindf(q, \ctranspose, Pbrown(-3.0, 3.0, 10)))).play; // Prout(function) - o ...
-
... ray of integer indices of possible next states . The initial state is chosen at random from the array of entry states . That chosen state's item is returned, and the next state is chosen from its array of possible next states . When the end ...
-
... ption Velvet noise is defined as a series of single +/-1 impulses, separated by random amounts of silence. Pvelvet outputs a single value from the source pattern; then, it gets the "length" of this segment ( num ) and fills out the segment ...
-
... vGen.kr(Env([0, 1, 0], [1, 1], \sin, 1), gate, doneAction: 2); // we'll grab 50 random partials pars = Array.fill(50, {IRand.new(5, fftframes)}); // use PinkNoise as a filter src src = PinkNoise.ar(0.5); // Index the freq and mag buffers to ...