-
... @1 == radpost == Ndef('block1', {arg rate=1 , trigger=1 , startPos=0 , mul=1 ; PlayBuf.ar(~buffer0.numChannels, ~buffer0, rate, trigger, startPos.linlin(0,1,0, ~buffer0.numFrames), 1)*mul;}); == radpostcont == (none) >> pl 2 @1 == radpost ...
-
... / ClockFaceCP { var <window, <starttime, <tempo, <>inc, <>bounds, <cursecs, <>isPlaying = false, clock, timeString; *new{ arg window, starttime = 0, tempo = 1, inc = 0.1, bounds = Rect(0, 0, 209, 20); ^super.newCopyArgs(window, starttime, t ...
-
//if preferred freq match with the human +-100 then play sound and move towards target //sound: audio input, matching agent's sounds ( s.waitForBoot{ var width= 640, height= 480, w, world, n= 20, syn, bus, human; //--world w= RedWindow("tra ...
-
... tionList = functionList.add(time); functionList = functionList.add(function); } play { this.reloadPath; this.applyOffset(options.offset); functionList.pairsDo{arg time, function; this.sched(this.time(time), function); } } quantValue { if(op ...
-
... , 0, { "done".postln } ); z.start( s, 0, true ); z.pause; // looped events keep playing z.resume; z.stop; z.start( s, 0, false ); // takes extra wait time for preparing events (depends on content) z.pos; // returns current position (keeps i ...
-
... n(o); //--render Pen.addRect(Rect.aboutRedObject2D(o)); }); }; Pen.stroke; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... c); Pen.addOval(Rect.aboutPoint(ploc, o.size/5, o.size/5)); }; Pen.stroke; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... olor= Color.grey(1-(i/n), 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... ntain(o); //--render Pen.addOval(Rect.aboutRedObject2D(o)); }; Pen.stroke; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... cus, RedButton(nil, nil, "sync").action_{|view| task.stop; task= this.prRoutine.play(clock); }.maxHeight_(lh), HLayout( bpmView= RedNumberBox().value_(clock.tempo*60).action_{|view| var bps= (view.value/60).round(0.0001); clock.tempo= bps; ...