Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1139) Code (82) Doc (462) Help (88) Quark (506) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. UnitTest_Connection Quark

    ... ; 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 = (); ...

  2. Orb Quark

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

  3. Thunk Doc

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

  4. readme Quark

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

  5. OSC_communication Help

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

  6. run Quark

    ... 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] ++ ". ...

  7. Freesound2 Doc

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

  8. FreqShift Doc

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

  9. RecursiveCutProc1 Doc

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

  10. SharedProxySpace Quark

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

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow