Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (889) Code (79) Doc (285) Help (132) Quark (392) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. MultiServer Quark

    ... t { |delay = 0| if( servers[0].addr.ip.asSymbol == '127.0.0.1' ) { if(delay>0){ Routine({ servers.do{ |server| server.boot; delay.wait; } }).play }{ servers.do(_.boot) } } } quit { if( servers[0].addr.ip.asSymbol == '127.0.0.1' ) { servers. ...

  2. CallWindow Quark

    ... ++ rrand(0,100).asString ++ " " ++ rrand(0,100).asString); 0.1.yield}}.fork}, "routine of random adding"); c.add(\stopTask, [\str], {a.stop}, "stop add routine"); c.add(\add, [\str, \num, \arr], {|str, num, arr| (num + arr).postln;}, "adds ...

  3. TempoClick Quark

    ... ction:2); Out.kr(bus, Impulse.kr(tempo * subd)); }).send(server); aliveThread = Routine({ { nodeID = nodeIDBounce - nodeID; server.sendBundle(server.latency, [\s_new, \TempoClick, nodeID, 0, 0, // at head of group 0 \tempo, clock.tempo, \su ...

  4. TempoClick Quark

    ... ction:2); Out.kr(bus, Impulse.kr(tempo * subd)); }).send(server); aliveThread = Routine({ { nodeID = nodeIDBounce - nodeID; server.sendBundle(server.latency, [\s_new, \TempoClick, nodeID, 0, 0, // at head of group 0 \tempo, clock.tempo, \su ...

  5. Writing-Hadron-Plugins Quark

    ... outBusses[0], \outBus1 , outBusses[1] ], target: group); } } fork{ } returns a Routine using the supplied function. And Routine is a function which can return in the moddle and resume where it left off later on. Why do we need this? In the ...

  6. cloth Quark

    ... osition.y)); }; //? Pen.stroke; }; }; win.front; CmdPeriod.doOnce({win.close}); Routine({ var nextTime; while({win.isClosed.not}, { nextTime= Main.elapsedTime+(1/60); usr.refresh; (nextTime-Main.elapsedTime).max(0.001).wait; }); }).play(App ...

  7. README Quark

    ... "1 2 3 6", "1 2 5 6", etc. An example not using patterns, but just JSMini: ``` Routine({ // played parts derived from video // "Philip Glass Polyrhythms | Minimalist chord trick" // https://www.youtube.com/watch?v=gxismSpBtII var parts = [ ...

  8. GAWorkbench Quark

    ... mutationFunc, fitnessFunc, chromInterpreter, gaInstance, win, view, drawPaths, routine; //problem numPoints = 25; points = { 500.0.rand@500.0.rand } ! numPoints; //ga funcs randChromFunc = { (numPoints - 1, (numPoints - 2) .. 1).collect ({ ...

  9. sGliss Quark

    ... nesCursor= 0; var freqLfoRateAdd= 0; var setupOscResponders, oscResponders; var routineGui; var sGliss_bus; var mainOutSyn; var mixSwitch= 0; //states for nanokontrol. 0= default, 1= mixer //--gui var ampSelectButtons, ampStack; var ampRang ...

  10. batchNRT Quark

    ... outputpath = outputpath.standardizePath; filesproduced = Array.new(files.size); Routine({ files.do { |filepath| if(sfreader.openRead(filepath.fullPath).not, { ("Error: SoundFile could not read "++filepath).postln; }, { //"DEBUG: Opened soun ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow