Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1299) Code (80) Doc (443) Help (108) Quark (663) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. example sequencing soundfiles by fredrik-olofsson (Fredrik Olofsson) Code

    ... ) //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 ...

  2. UnitTestScript Doc

    ... 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 ...

  3. SWDataAction Quark

    ... 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 ...

  4. GMSymbolSlider Doc

    ... 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 ...

  5. Thunk Help

    ... 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) ...

  6. expert sleepers ES-5 control code by olaf (olaf) Code

    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 ...

  7. Dpoll Help

    ... 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 ...

  8. MFunc Doc

    ... 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 ...

  9. IBVAplayer Doc

    ... 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 ...

  10. CutTrace Doc

    ... 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 ...

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow