-
... ne GeneralHID .buildDeviceList; // create the PowerMate and start the HID event loop q.knob = PowerMate .new; GeneralHID .startEventLoop // define some actions ( q.knob.downAction = { "down" .postln}; q.knob.upAction = { "up" .postln}; q.kn ...
-
... n*newLvl.squared.min(1).lag(0.5) + (ot * oldLvl.lag(0.7).cubed), buf, phaW); // loop rec into the buf ot * amp });
-
... ction = defaultRetAction; } ); returnAction.value( val ); }; task = Task.new( { loop{ (this.updateFunc).value; this.waitTime.wait; } } ); } start{ task.start; } stop{ task.stop; } }
-
... * clockwise.next.binaryValue.linlin(0,1,-1,1); i = spd * UPattern.startPos; }; loop { ((((((i % 1) * 2pi) + [0, 0.5pi] + startAngle.next).sin * radius.next.asArray) + center.next.asArray)) .asPoint.yield; spd = speed.next * clockwise.next. ...
-
... rand(300)); }); }.select{|x| x.notNil}; }.flat; syns= {Synth(\imp)}.dup(n); //--loop w.draw{ //--render Pen.smoothing= true; Pen.strokeColor= Color.white; sprs.do{|spr| spr.update; //--render springs Pen.moveTo(spr.object.loc.asPoint); Pen. ...
-
... c.ar(\freq.kr(100) * i) })) * DC.ar(0) }).add; 4.do { AlgaNode(\test) }; fork { loop { s.avgCPU.postln; 1.wait; } } }, algaServerOptions: AlgaServerOptions(blockSize: 64, supernova: true, supernovaThreads: 6) ) ) 15 ( Server.supernova; s.op ...
-
... , \y, 8), Pn((x: 7, y: 8)), Pbindf((y: 8), \x, 7), Pbindf((y: 8), \x, Pn(7, 1)).loop, Pseq([(x: 7, y: 8)], inf), Pfset({ ~x = 7 }, Pbind(\y, 8)), Pfset({ ~y = 8 }, Pbind(\x, 7)), Pbind(\x, 7).collect { |event| event.put(\y, 8) }, ]; [identi ...
-
... erage.rms(input), buffer, env * numSamples, // how many samples will be written loop: 0 ); // no need to have an Out }).add; server.sync; // create a Synth that won't play immediately recorder = Synth.newPaused(\rec, target: server, addActi ...
-
... ointArray[slot] : WFSArrayBase { interpolate { |division = 10, type = 'linear', loop = true, extra, close = false| ^[ this.x.interpolate( division, type, loop, extra, close ), this.y.interpolate( division, type, loop, extra, close ), this.z ...
-
... rand2, -2.0.rand], nil, 15, pixelSize); //world,loc,vel,acc,mass,size }; }; //--loop w.draw{ Pen.smoothing_(false); Pen.strokeColor= Color.green; rep.loc= w.mouse/[wn, hn]; Pen.strokeRect(Rect.aboutPoint(rep.loc.round.asPoint*[wn, hn], pixe ...