-
... x| a.prepareForPlay(( "cut" ++x).asSymbol, "sounds/a11wlk01-44_1.aiff" , 100000.linrand, 50000.linrand); //key, path, offset and length }; ) a.play( \cut3 ); //quick test ( r= Routine ({ inf .do{ var key= a.loadedKeys.choose; a.play(key.pos ...
-
... (world, loc, vel, 0, size, size) //world,loc,vel,acc,mass,size .angularVel_(2.0.linrand); ypos= ypos+(size*2.25); obj; }); //--loop w.draw{ Pen.fillColor= Color.white; Pen.width= 1; world.objects.do{|o, i| o.update; world.contain(o); //--re ...
-
... idth= 640, height= 480, w, wgrav, world, n= 20, thetas= 0.dup(n), speeds= {0.05.linrand*#[-1, 1].choose}.dup(n); var boxes; //--world w= RedWindow("3Dboxes", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.01]; world= RedWorld3 ...
-
... // ... // then set Ndef to random values Ndef(\a).set(* ~ckeys.collect ([_, 1.0.linrand]).flat); // and move knobs again, should continue smoothly // from where they are now.
-
... name, [ \force, 0.9, \incidence, 1, \decayMs, 1, \pitch,60, // \freqs, {12000.0.linrand+800}.dup(12), \amps, {0.05.rrand(2)}.dup(12), \rings, {0.01.rrand(1.5)}.dup(12) ] ); ) ( x = ~satie.makeKamikaze(\whatever, \particule1, \default, [ \az ...
-
... name, [ \force, 0.9, \incidence, 1, \decayMs, 1, \pitch,60, // \freqs, {12000.0.linrand+800}.dup(12), \amps, {0.05.rrand(2)}.dup(12), \rings, {0.01.rrand(1.5)}.dup(12) ] ); ) ( x = ~satie.makeKamikaze(\whatever, \particule1, \default, [ \az ...
-
... .0,droneLevel=0.0022,ffreq=8000,rq=0.2,decay = 0.3; RLPF.ar( Klank.ar( `[ Array.linrand(4, 50.0, 2000.0), nil, Array.rand(4, 0.2, 12.0) ], //drones PinkNoise.ar(LFNoise1.kr(3.0, 0.0008, droneLevel)) ).max(0) , Decay2.kr(trig, 0.004, decay, ...
-
... 0, 0, 1, [0.679.rrand(0.74), 0.99, 1, 0.679].wchoose([0.7, 0.1, 0.1, 0.1]), 0.1.linrand, 0.5.rand ]++{1.0.rand}.dup(6.rrand(20))); g.chromosome.postln; //--genome for the two parents parent0= RedGAGenome(#[0.97482731342316, 0, 0, 1, 0.99, 0 ...
-
... xt.string= ""; frequenciesText.string= ""; }, 1, { amplitudesText.string= ({1.0.linrand}!15).asString.drop(2).drop(-2); amplitudesTypePop.value= 0; frequenciesText.string= ({20.0.exprand(12000)}!15).asString.drop(2).drop(-2); frequenciesTyp ...
-
... ormOnEach( thisMethod.name ) } rand2 { ^this.performOnEach( thisMethod.name ) } linrand { ^this.performOnEach( thisMethod.name ) } bilinrand { ^this.performOnEach( thisMethod.name ) } sum3rand { ^this.performOnEach( thisMethod.name ) } dist ...