-
... ame, point; var txtv, r, filename, timeText, secTask; var stereoButt, monoButt, cmdPeriodFunc; var vuview, ampslider, responder; var amp, ampAnalFunc; numChannels = channels; filename = ""; name = "- recorder -"; s = server ? Server.default ...
-
... v.sqrt.lag(lag)); //smooth and clip }); }).load; bus= Bus.control(s, numBins); CmdPeriod.doOnce({bus.free}); s.sync; ~synth.free; ~synth= Synth(\fft, [\bus, bus]); s.sync; ~sequencer.dataAction= {|num, data, accel| s.bind{~synth.set(\data, ...
-
... n.addOval(Rect.aboutPoint(ploc, o.size/5, o.size/5)); }; Pen.stroke; }; w.play; CmdPeriod.doOnce({w.close}); ) /* //manual control a.addForceAngular2D(30) a.addForceAngular2D(5) a.addForceAngular2D(-5) */
-
... //--render Pen.addRect(Rect.aboutRedObject2D(o)); }); }; Pen.stroke; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... n.addOval(Rect.aboutPoint(ploc, o.size/5, o.size/5)); }; Pen.stroke; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... Color.grey(1-(i/n), 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... o); //--render Pen.addOval(Rect.aboutRedObject2D(o)); }; Pen.stroke; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... trokeColor= Color.white; Pen.strokeRect(Rect.aboutRedObject2D(obj)); }; w.play; CmdPeriod.doOnce({w.close}); )
-
... n(\LogWindow, name); window.layout_(VLayout(textView).margins_(5).spacing_(0)); CmdPeriod.add(this); this.connect(); window.onClose_({ this.disconnect(); window = nil; textView = nil; CmdPeriod.remove(this); textViewSize = 0; }); }.defer(); ...
-
... pulse= OSCresponderNode(nil, \t_pulse, {|t, r, m| this.doPulse(t,r,m); }).add; CmdPeriod.doOnce {this.clear}; } doPulse {|t,r,m| var time, avgs; tick = m[1]-shift; avg.put(tick%10, Main.elapsedTime-lastTime); lastTime = Main.elapsedTime; a ...