-
... .kr(freqPair[0], freqPair[1], dur: dur); var wobble = SinOsc.kr(0.01 + 0.05.rand, mul: 10, phase: 1 - 2.rand); freq + wobble }, mul: shape * vol, bw: bw ); Out.ar(0, Mix.ar(signal) ! 2) }).store; ...
-
// wslib 2011 // history aware random // chooses item from a list without repeating // histSize sets the number of items to be remembered for repetition // setting histSize to the size of the list - 1 results in a repetitive pattern /* x = ...
-
... s).asWFSPoint.asPoint; ^Rect.fromPoints( this.asPoint, otherCorner.asPoint ) } *rand { arg radius = 1.0, z = 0; // 2D var azimuth, distance; distance = radius.rand; azimuth = 2pi.rand; ^(([azimuth.sin, azimuth.cos] * distance) ++ [z]).asWFS ...
-
... itude, azimuth, panValue, sound, index; index = Array.series(7, 8, 1); x = 50.rand; y = LFSaw.kr(1/IRand(speed, speed*3), 0, 100); distance = hypot(x, y); velocity = Slope.kr(distance); pitchRatio = (344 – velocity) / 344; amplitude ...
-
... cs)...".postln; 1000.do{ thesynth.set('t_gate', 1, 'input', p.choose + {0.5.sum3rand}.dup(d)); 0.01.wait; }; }, { |c, subtots| c.sortBy(0); c = (p-c).flat.abs; this.assertArrayFloatEquals(c, 0.0, "clustering %D fuzzybinary data should appro ...
-
... = Mix.fill(12, { Pan2.ar( Decay2.ar(Dust.ar(0.05), 0.1, 0.5, 0.1) * FSinOsc.ar(IRand(36, 84).midicps).cubed.max(0), Rand(-1, 1)) }); in = in + Pan2.ar(Decay2.ar(Dust.ar(0.03), 0.04, 0.3) * BrownNoise.ar, 0); 4.do { in = AllpassN.ar(in, 0.03 ...
-
... see also: PlazyEnvir , PlazyEnvirN ( a = Plazy ({ var x, y; x = Array .series(rrand(2, 4), [1, 100].choose, 1); Pshuf (x,1); }); x = Pn (a, inf ).asStream; 30.do({ x.next.postln }); ) Plazy used to produce a sequence of pitches: ( SynthDef ...
-
... reo panorama: ( Synth(\littleHOAgrain, [\buffer, ~hoaSoundScene, \grainDur, 1.0.rand, \start, (~hoaSoundScene.numFrames * ~hoaSoundScene.numChannels).rand, \az, pi.rand2, \el, (pi*2).rand2 ]) ) ⧉ ✔ So let's make decoder, that is playing the ...
-
... el.compose( [\a, \e, \i], [\soprano, \bass, \tenor, \counterTenor, \alto], ({10.rand}!5).normalizeSum ); Formants.ar(50 + 300.rand, v) * 0.1; }.play; ) ⧉ ✔ Inherited class methods Instance Methods . freqs Array of freqs, one for each forman ...
-
Randomness: Filter: Create single random numbers '>Between zero and <number> %20and%20 '>Between -<number> and <number> Within a given range Test them multiple times with a do loop Collect the results in an array Seeding Histograms on Colle ...