-
... FB,<nextFB,<gotoF,<file,<stamp; var <linedist; var <fp; var <>updFunc; var <playTask; *new{ |fp,parent| ^super.new.fp_(fp).init(parent); } fp_{ |filep| fp = filep; this.estimateLine; } init{ |parent| w = Window.new( "MultiFilePlayer", Rect( ...
-
... t { |x| x[\wort] }.join($ ).quote }; var starte = { |keller| keller[\prozess] = Task { var bis = 0, event, bisher, zukunft; "\n===== START =====".postln; loop { event = keller[\inhalt][bis]; event !? { "STEP TO %\n".postf(event[\wort]) }; i ...
-
... e actions is used. ( a = SCAlert ( "hello!" ); a.color = Color .green(0.2); b = Task ({ var i = 0; loop { { a.iconName = ( "wait_" ++ (i = i+(1/16))).asSymbol; }.defer; 0.1.wait; }; }).start; a.actions = [ { b.stop }, { b.stop } ]; a.onClos ...
-
... rner"); To Do: * better sounding noise spikes to drop into the feedback loop, * task or function plays them on trigger from interface */ // two grain-like synthdefs, just to show the concept SynthDef(\whytnoyz, { |out, amp = 0.25, gdur = 0. ...
-
... ~controller.remove; ~controller = nil; ~buffer.free; }, get: { | ev, del = 0 | Task({ del.wait; ev[\server].sync; ev[\buffer].getn(0, ev[\display].value.size, { | vals| if (ev[\msg] != \signal) { vals = vals.clump(2).collect { |a| [ a[0], ...
-
... ls.setData( 9, vals.copyToEnd(1); ) } ) }; processes.put( 8, "motiontrackosc"); Task({ 5.0.wait; this.camera.hide(1); this.camera.subscribeDir(1); 1.0.wait; internals.add( \headx, [9,0]); internals.add( \heady, [9,1]); internals.add( \heada ...
-
... messages { a=~function.play; s.sync; a.set(\amp, 1); a.set(\t_trig, 1 ); // t = Task({ { a.set(\t_trig, 1); 1.wait; a=~function.play; s.sync; }.loop }); t = Task({ { a.set(\t_trig, 1); 0.2.wait; }.loop }); t.start; }.fork; a.set(\c1, 30); a ...
-
... \clock , window.view.bounds.insetBy(10,10), d.hour, d.minute, d.second ) }; t = Task ({ loop { d.localtime; { if( w.notNil && { w.dataptr.notNil }) { w.refresh; } }.defer; 1.0.wait } }).start; w.onClose_({ t.stop; }); w.refresh; ) ( // post ...
-
... f key / value pairs for the HSpar synth(s). latency - SimpleNumber (seconds). asTask(clock, quant, hsStop, hsPlay, switchStop, newEnvir, removeCtrWithCmdPeriod) Returns a wrapper Task, which may be passed to a VarGui object. Playing and sto ...
-
... outAll; }); }); // now really start the server, then load setup in doWhenBooted Task { 0.5.wait; s.quit; // sometimes the server must be quit first, 1.wait; // and waiting between steps can be helpful. // tell me the new server configuratio ...