-
... th].set(\x, pos.x, \y, pos.y, \a, age, \d, delta); }; Pen.stroke; }; win.front; CmdPeriod.doOnce({win.close}); Routine({ var nextTime; while({win.isClosed.not}, { nextTime= Main.elapsedTime+(1/60); usr.refresh; (nextTime-Main.elapsedTime).m ...
-
... o.amp2; Pen.moveTo(p); Pen.lineTo(p+Point(x, y)); }; Pen.fillStroke; }; w.play; CmdPeriod.doOnce({w.close}); ~world= world; ) ~world.objects.do{|o| o.internalCoupling= 0.1; o.coupling= 0.2}; //tighter couplings ~world.objects.do{|o| o.inter ...
-
... ooth serial (dongle). use CytonWifi for the wifi shield. NOTE: does not survive CmdPeriod . Class Methods . new open port Arguments: port a String with the name of the serial port. by default this is "/dev/tty.usbserial-DM00DRM0" baudrate i ...
-
... win.onClose_({ if(synthsFree.not) { synths.do({ |synth| synth.free; }); }; }); CmdPeriod.doOnce({ synthsFree = true; win.close; }); win.front; }); ) ⧉ ✔ Used as a sequencer parameter : ( s.waitForBoot({ var nBeats = 8; var highlights = [1, ...
-
... layout_( HLayout( button, ).margins_(0)); win.front; // Useful when developping CmdPeriod.doOnce({ win.close; }); ) ⧉ ✔ helpfile source: /tmp/scquark_hs/GraphicalModule/HelpSource/Classes/GMCheckButton.schelp link::Classes/GMCheckButton::
-
... rt prStart prStartTasks stopScore stopChains stop pause prSubScoreResume resume cmdPeriod pos gui printOn getInitArgs storeArgs onSaveAction sessionGUI Inherited instance methods Examples Classes (extension) | UnitLib UScore Extension A tim ...
-
... win.onClose_({ if(synthsFree.not) { synths.do({ |synth| synth.free; }); }; }); CmdPeriod.doOnce({ synthsFree = true; win.close; }); win.front; }); ) ⧉ ✔ Used as a sequencer parameter : ( s.waitForBoot({ var nBeats = 8; var highlights = [1, ...
-
... bus, z); }).play( s, [\bus, b.index] ); c.start; // Tell the ScopeView to start CmdPeriod.doOnce({ w.close }); ) c.style = 0; // vertically spaced c.style = 1; // overlapped c.style = 2; // x/y ⧉ ✔ An interactive example with sound This exp ...
-
... .grey(amp.max(0.1), 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); w.onClose= {synths.do{|x| x.free}}; }.play(AppClock); )
-
... .string_("a play noise function").align_(\center).background_(Color.rand); p = CmdPeriod.add({ b.value_(0) }); // set button to 0 on hitting Cmd-period w.onClose_{ snd.free; CmdPeriod.removeAll }; // clean up when window is closed w.front; ...