-
... ; object.changed(\shouldNot, 3); object.changed(\shouldNot, 4); object.changed(\done, 5); test.wait({ ~object.size == 2 }, "Deferred action executed"); lastMessageEquals.([object, object], [\shouldRecieve, \done], [[1], [5]]); object = (); ...
-
... , 0.4, 0.8), 0.1); o.set((0..2), Color .red) ( o.setHSV(0, Color .green, 10, { "done" .postln}); o.set(1, Color .green, 10, { "done" .postln}); ) o.setHSV([0, 1, 2], Color .hsv(0, 1, 1), 10) o.set(2, Color .green, 2) o.setHSV(0, Color .red, ...
-
... ited class methods Instance Methods . value return the value. If calculation is done, use previous value, otherwise do calculation. Inherited instance methods Undocumented instance methods . clear . didEvaluate . valueArray . valueArrayEnvi ...
-
... 'three') cb() }) // Jobs run automatically. If you want a callback when all are done, // call 'onDone()'. t.onDone(function () { console.log('all done:', results) }) ``` ## Zlib Example ```js const zlib = require('zlib'); const Limiter = re ...
-
OSC_communication OSC communication between programs is often done to send messages from one application to another, possibly with the applications running on different computers. In SuperCollider this communication is done by creating a Ne ...
-
... ostln; fork { results = []; tests.do{|t, i| var resultFile, logFile, cmd, cond, done = false, pid, res, log, errors, t0; resultFile = logDir +/+ t[\caseFile] +/+ (t[\name] ++ ".result"); logFile = logDir +/+ t[\caseFile] +/+ (t[\name] ++ ". ...
-
... d.retrieve("/tmp/",{ ~buf = Buffer.read(s,"/tmp/"++~snd["original_filename"]); "done!".postln; }); ~buf.play; // metadata fields ~snd.dict.keys; // note that you can access the fields directly ~snd["id"] ~snd["original_filename"]; ~snd["dur ...
-
... e = 1.5| var e1, left, right; e1 = EnvGen.ar(Env.new([0, 0.1, 0], [1, 2.3]), 1, doneAction: Done.freeSelf); left = SinOsc.ar(freq, 0, e1); // original tone left = left + FreqShift.ar(left, freq * detune); // shift and add back to original r ...
-
... ined functions var w,slider; var cutfunc, repeatfunc, offsetfunc; cutfunc= {arg done, currpl; if((done<(currpl*0.7)), {[1.5,0.5].choose},{[0.25,1.0].choose});}; repeatfunc= {arg done, currpl; if((done<(currpl*0.7)), {1},{rrand(1,3)});}; //3 ...
-
... group id that is derived from the key: only short strings work. This should be done with a fresh, unused server. addSharedKeys(controlKeys, audioKeys, firstAudioKey) create multiple SharedNodeProxies. This should be done with a fresh, unus ...