-
... ly one can use the approach from the pattern guide. Why search the net for drum loops in your preferred tempo if you can easily generate them yourself? ( s.waitForBoot({ var gen, swingify; var presets; var composite; if (MIDICli ...
-
... f, [\in, ~bus, \out, 0]); { ~cluster.value; rrand(5.5,12.0).wait; }.loop; }.start; ) //stop clusters t.stop;
-
... -interface ~trails= 1; ~speed= 0; ~amp= 0.5; ~version= 0; //--main loop u.drawFunc= { //uncomment framerate display in the two lines below to gain some speed Pen.color= Color.white; Pen.stringAtPoint(""++u.frameR ...
-
... e randomization removes it sig = sig*PlayBuf.ar(1, envBufnum, 1/(trigPeriod), loop:1); // Delay second grain by half a grain length for superposition sig[1] = DelayC.ar(sig[1], trigPeriod/2, trigPeriod/2); // Panned output Out.ar( ...
-
... 150, revtime:5, taillevel:0.7); }; ~fm11.set(\wet16, 0.5, \wet18, 0.2); loop({ "update".postln; ~fm11[0] = ~synth; 16.wait; }); }).play )
-
... b=Buffer.loadCollection(s, a); x = { PlayBuf.ar(1, b, BufRateScale.kr(b), loop: 0) }; x.play; x.free; b.free; a.free;
-
... ; }; //Create 3 buttons on left of each slider // for this you need nested loops (there's another trick, but not today) (32 .. 39).do { |i| 3.do { |j| var ccnum = i + (16 * j); ccs.put(ccnum, Button(win, Rect(310 + (87 * (i-32 ...
-
... .value(i+1, j+1, cells.size)]; }) }); } }; w.drawFunc = Routine{ loop{ var ncells = cells.size; clearFunc.(); // update cells cells.do{ |x| x.updateCell; b[x.pos[0]-1][x.pos[1]-1].value = 1; }; ...
-
... asStream; smpat = mpat.asStream; rout = Routine { block { arg break; loop { ev1 = spat1.next(Event.default); ev2 = spat2.next(Event.default); morph = smpat.next; if(ev1.isNil or: { ev2.isNil or: { morph.isNil ...
-
... kr(buffer)*rate*direction, trig, BufFrames.kr(buffer)*start, 1); //playing the (looping) stereo buffer env = Env.adsr(att, dec, sust, rel, amp); env = EnvGen.kr(env, gate, doneAction: 2); //simple adsr envelope which frees the synth w ...