Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (447) Code (33) Doc (84) Help (29) Quark (300) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. Task Help

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

  2. sCluster Quark

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

  3. load_ntmiPilot Quark

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

  4. 9_ntmi_general Quark

    ... g.setFrontText("NT_codeTest done!"); 3.wait; NTMI.g.setFrontText(""); }).clock_(AppClock); );

  5. VGSamp Quark

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

  6. XiiSCFreqScope Quark

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

  7. Strang Doc

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

  8. SmoothNumberBox Quark

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

  9. XiiImageConverter Quark

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

  10. PlayerSocket Doc

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

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow