-
IRand: Filter: Description Class methods new Inherited class methods Instance methods Inherited instance methods Examples Classes | UGens > Random'>Random IRand : UGen : AbstractFunction : Object Single integer random number generator. Sour ...
-
IRand IRand(lo, hi) Generates a single random integer value in uniform distribution from lo to hi ( SynthDef ( "help-IRand" , { Out .ar( I Rand (0, 1), //play on random channel between 0 and 1 FSinOsc .ar(500, 0, Line .kr(0.2, 0, 0.1, doneA ...
-
... ue, 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 = 2.5 / distance.squar ...
-
... modMix = 0, dur; var env = EnvGen.ar(Env.linen(0.0005, dur-0.001, 0.0005, 1, IRand(-8,-4)), gate, doneAction:2); var mod = SinOsc.ar(freq*Rand(0.25,2),0,index-(index*modMix))+HenonC.ar(freq*IRand(4,8),mul:index*modMix); var src = Sin ...
-
PIRand UGenPatterns quark library superclass: Pattern based on IRand PIRand(lo, hi, length) lo (default: 0) hi (default: 127) length number of values produced (default: inf) // example s.boot; a= Pbind ( \dur , 1/3, \legato , 0.4, \midinote ...
-
... 1, amp = 0.8, pan = 0; var env, out, mod; env = Env.perc(0, art); mod = 5 + (1/IRand(2, 6)); out = PMOsc.ar(freq, mod*freq, pmindex: EnvGen.kr(env, timeScale: art, levelScale: tone), mul: EnvGen.kr(env, timeScale: art, levelScale: 0.3)); o ...
-
PIRand: Filter: Description Class methods new Inherited class methods Instance methods Inherited instance methods Examples Classes (extension) | Streams-Patterns-Events > UGenPatterns'>UGenPatterns > UGenPatterns>Generators'>Generators PIRa ...
-
... = \filter -> { arg in, speed = 4, dense = 0.3; var num = 8; var multipliers = { IRand(1, 5) + ExpRand(0.99, 1.01) }!num; var hack = LFPulse.ar(speed * multipliers, 0, dense); hack.clump(2).product.lag(1/2000, 1/speed) * in; }; */ // rewrite ...
-
... = \filter -> { arg in, speed = 4, dense = 0.3; var num = 8; var multipliers = { IRand(1, 5) + ExpRand(0.99, 1.01) }!num; var hack = LFPulse.ar(speed * multipliers, 0, dense); hack.clump(2).product.lag(1/2000, 1/speed) * in; }; */ // rewrite ...
-
... n : Object Single random number generator. Source: Noise.sc See also: ExpRand , IRand , LinRand , NRand , TExpRand , TIRand , TRand Description Generates a single random float value in uniform distribution from lo to hi . It generates this ...