-
... = ~ctl1.wrap2(~ctl2) * ~ctl1 / (~ctl2 + ~ctl1); ~pat = Pbind(\freq, Pfunc({ 1.2.rand })); ~z = 9; ~out.set(\freq, 760, \ffreq, 20); ) p.asCompileString; // the document message creates a new document which it posts the code into p.document; ...
-
... ], wgrav, 10, 0.6); //dim,grav,maxvel,damp //--objects { var vel= RedVector2D[2.rand2, -5]; //random initial velocity for each object var mass= 0.5.rrand(4); //random mass for each object RedObject(world, RedVector2D[width, height].rand, ve ...
-
... NetAddr("127.0.0.1", 57120); // stamp is a letter id. q.makeStamp = { 100000.0.rand }; q.responderActive = { |q, resp| OSCresponder.all.includes(resp) }; // this listens to every letter. q.logResponder = OSCresponderNode(nil, \recieveLette ...
-
... = BPF.ar(In.ar(inbus), freq, 0.01); Out.ar(outbus, Pan2.ar(src * envgen * amp, Rand(-1.0, 1.0))); }), SynthDef(\dels, {arg inbus, deltime, dur, amp; var env, envgen, src; env = Control.names([\env]).kr(Env.newClear(8)); envgen = EnvGen.kr( ...
-
... is a FloatArray a stream of scales is a sequential series of these arrays ( // random pentatonics p = Instr("scaleStream.randpentas"); // returns a pattern when valued x = p.value(4,16,0); Pbind ( \degree , Pseq([1,3,5,7,9,11,3,2],inf), \s ...
-
... indow.window("My Post Window"); p.addLineToFork("hello"); 10.do{p.addLine(Array.rand(10,0.1,2.0));}; ( ["hello", "how", "are", "you", "isn't", "this", "a", "lot", "of", "nonsense" ].scramble.do{|item| p.addToFork(item); }; ) p.clear; //clea ...
-
... llect{ file.getInt8 }; // how many bytes to replace 100.do{ var pos = rrand(200, data.size - 10); data[pos] = 256.rand; // data[pos] = (data[pos] + 100.rand2).max(0).min(255); }; // write out the file outfile = File.n ...
-
... lied as is supplied to Routine. ( var a, b, c; a = Prout .new({ 3.do({ arg i; 3.rand.yield; }) }); // make two streams from the pattern b = a.asStream; c = a.asStream; 4.do({ b.next.postln; }); // print 4 values from first stream 4.do({ c.n ...
-
... umber // or a function that generates an index number: \robTron -> { |pre| 2000.rand }, ];
-
... ak.aiff",8); TempoClock.default.tempo_(2.4); ) ( //default index function (free random choice) BBCut2(CutBuf2(f),MotifCutProc.new( [ //array of Motifs [[1.0,1.0,1.0], [0.25, 0.25, 0.5]], //first Motif [[0.5, 0.5], [0.33, 0.33, 0.34]] //seco ...