-
... ) //test1 - single Synth(\sample, [\buf, b[0]]).register.onFree{"hello".postln};//should post when first soundfile done playing //test2 - looping through samples one after the other ( Routine({ var index= 0; var c= Condit ...
-
... ipt NOTE: This should be in a file myUnitTest_unittest.scd { |test| "Kant test".postln; "5 + 7 = ".post; (5 + 7).postln; test.assertEquals(5 + 7, 12, "five plus seven should always be twelve"); } ⧉ ✔ To run only the test scripts: UnitTestSc ...
-
... w key. That SWDataAction will have the same settings, function and network, but post its result to a different nodeID. network ( ) The network to which the node belongs. id ( ) The id of the node within the network. initFunction ( func ) In ...
-
... n cases, the built-in slider scales won't suit your usage, and you will need to post-process the slider value within its action function. In this case, you should also modify the displayFunction of the slider so that the displayed value is ...
-
... or example, random values will result in a single instance: a = Thunk ({ \done .postln; rrand(2.0, 8.0) }); a.value; // posts "done" a.value; // it is an AbstractFunction, so one can use it for math operations: a = Thunk ({ rrand(2.0, 8.0) ...
-
As I just got the ES3 and ES5. I post here some code to use the ES5 from expert sleepers with sc maybe its interesting for somebody. ( ~es5_control={|channel,device,gate| var shift=(2-device)*8;//to which device should the gate ...
-
... examples { Duty .kr(0.5, 0, Dpoll ( Dseries (0, 1, inf ) * 2)); 0.0 }.play; // posts only when cursor is in right half of the screen { Duty .kr(0.5, 0, Dpoll ( Dseries (0, 1, inf ) * 2, run: MouseX .kr > 0.5)); 0.0 }.play; // label { LFPul ...
-
... the MFunc: e = EZSlider(nil, 300@30, "MFunc test", nil, m, 0.5); // basic tests posts slider values m.add(\test, { |sl| "test: %\n".postf(sl.value) }); // now slider also sets Ndef(\a), using a global spec Ndef(\a, { |freq = 200| LFPulse.ar ...
-
... er(a); b.prepare("~/Desktop/ibvarectest"); b.play; b.stop; b.play(1, 2, {"done".postln}); //repeat twice at normal rate, post when finished b.stop; ⧉ ✔ helpfile source: /tmp/scquark_hs/IBVA-BlueVAS-SuperCollider/HelpSource/Classes/IBVAplaye ...
-
... synths as they render algorithmically determined cuts. The base behaviour is to post the cut data. Class Methods . new Arguments: instance instance number for this tracer compensate Seconds of compensation, pass in s.latency to have the fun ...