-
... that methods which call Cocoa primitives (i.e. GUI functions) must be played in AppClock. play(argClock, doReset, quant) argClock - (optional) Override the clock assigned in Task.new doReset - If true, the task will start over from the begi ...
-
... ct.top and:{ voice.frequency<=selectedRect.bottom } } }; }; }); 0.1.wait; }; }, AppClock); normalizedX= {|x| x.linlin(usrPadding.width, usr.bounds.width, 0, 1); }; normalizedY= {|y| y.linlin(usrPadding.height, usr.bounds.height-usrPadding.h ...
-
... .size); "*** ntmiPilot prep done. ***\n\n".postln; // Tdef(\ntmiPilot).play; }, AppClock); } }; Tdef(\ntmiPilot, { |envir| var presetsToChoose, preset, ndef, waitTime, settings, setname; var timeFunc = { var dt = [3, 5, 8, 13 ].choose; envi ...
-
... g.setFrontText("NT_codeTest done!"); 3.wait; NTMI.g.setFrontText(""); }).clock_(AppClock); );
-
... loaded.\n\n".postf(bufenv.envir.size); doneFunc.value; loaded = true; } }.play(AppClock); } *makeWin { |laras| ^VGSampGui(laras) } *numNotLoaded { ^VGSamp.bufenv.envir.count({ |b| b.numFrames == 0 }); } }
-
... cs.size-1).do({ arg i; funcs[i].value; delta.wait; }); funcs.last.value; }, 64, AppClock); } active_ { arg bool; server.serverRunning.postln; if(server.serverRunning, { // don't do anything unless server is running if(bool, { if(active.not, ...
-
... 67)); fork({ loop { 1.wait; t.string = t.string.asStrang.scramble.asString }}, AppClock) ) ⧉ ✔ Etymology "Strang" is German for string, rope, strand, cord, skein. The Deutsches Wörterbuch von Jacob Grimm und Wilhelm Grimm writes: "strang, ...
-
... f wslib) 0.5 .wait; w.front; b.focus; "\n" .keyStroke; // press enter }.r.play( AppClock ); }; ) f.( "1+1" ); // if this doesn't work, type these expressions in the SmoothNumberBox yourself f.( "100*2" ); f.( "(5+1)**2" ); The behaviour can ...
-
... tring ++ "</body>\n</html>"; htmlfile.write(htmlstring); htmlfile.close; }.fork(AppClock); }, { "__________ BBBBBBBBBB________________".postln; htmlfile = File(files[0].dirname++"/ixi_imgs.html", "w"); files.do({arg filepath; var filename; ...
-
... .01,1.0)); }); 2.0.wait; p.release; 4.0.wait; p.stop; 1.0.wait; p.free; }).play(AppClock) ) ⧉ ✔ As an input to a Patch ( q = Patch({ Saw.ar * 0.2 }); r = Patch({ Saw.ar(800) * 0.2 }); p = PlayerSocket.new(numChannels: 1); e = Patch({ arg au ...