-
TRand: Filter: Description Class methods ar kr Inherited class methods Instance methods Inherited instance methods Examples Classes | UGens > Random'>Random | UGens > Triggers'>Triggers TRand : UGen : AbstractFunction : Object Triggered ran ...
-
... (see also: Function ). '%' .applyTo(2553, 345 ); [ '+' , '-' , '*' , { |a, b| a.rand + b.rand } ].choose.applyTo(2, 3); Synthesis Inside SynthDefs and UGen functions, symbols can be used to conventiently specify control inputs of different ...
-
... ong and weak {arg index; if((index==4) || (index==7), 3, 1)} )).play ) ( //more random happenings var mult; BBCut2(CutBuf2(f), BBCPPermute.new( {mult= [4.31, 1.29, {rrand(5.01, 10.09)}].choose.value; 8.0}, //this is called beginning of ever ...
-
... akes a .bak copy of any previously existing file it finds. ( SaveConsole( Array.rand(16,10,200), nil, // no previous path nil) //no layout .print // prints object .save .saveAs ) ⧉ ✔ Class Methods . new Arguments: object anything that can r ...
-
... a.value; // again, with a different value. ⧉ ✔ // sound example ( var a = { 19.rand }; var b = a.sqrt; fork { 15.do { (instrument: \default, note: [a.value, b.value]).play; 0.3.wait; } } ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollide ...
-
... 10, resfreq = 500, ringtime = 0.01| var n = 15; var env = EnvGen.kr( Env({ 1.0.rand2 }!(n+1), {1.0.rand}!n, curve, releaseNode: n-1, loopNode: loopnode.min(n-3)), timeScale: timescale); var pitch = (env * [1, 0.33, -1] * intv).midiratio * ...
-
... wavetables with increasing complexity ~wt_sig = 10.collect({ arg i; //random number of envelope segments var numSegs = i.linexp(0,9,4,40).round; Env( //env always begins and ends with zero //inner points are random ...
-
... sf= SoundFile(x.fullPath); var len= if(sf.numFrames<44100, {-1}, {sf.numFrames.rand}); ("loading..."+x.fullPath).postln; a.prepareForPlay(sf.path, sf.path, sf.numFrames.rand, len); sf.close; }; r= Routine.run{ 1.wait; inf.do{ a.play(a.load ...
-
... utate q.gendy = q.gendy ? (); q.gendy.maxSegs = 42; q.gendy.levels = { 1.0.bilinrand }.dup(41); q.gendy.times = { exprand(3, 300) }.dup(42); /* q.gendy.times = { 30 }.dup(42); q.gendy.levels = ([1, -1] / (1..21)).flat.keep(41); // debug q.g ...
-
... 0.05); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; var vel= RedVector2D[0.5, 0.5].rand2; var mass= 0.5.rrand(4); var obj= RedBoid(world, loc, vel, RedVector2D[0, 0], mass, mass*5) .maxForce_(1).wdistance_( ...