Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (5475) Code (807) Doc (1945) Help (663) Quark (2016) Plugin (44) SCDoc ↗ Forum ↗ Google ↗
  1. 178-springs_coupled Quark

    ... dRect(Rect(x[0], y, 1, 1)); Pen.addRect(Rect(x[1], y, 1, 1)); }; Pen.fill; }; w.play; CmdPeriod.doOnce({w.close}); ~world= world; ) //move left object ~leftObj.loc= RedVector2D[10, 200]; //move right object ~rightObj.loc= RedVector2D[1000, ...

  2. 250-extra_params Quark

    //attaching extra parameters to particles (like rotation) and displaying them. //example showing an alternative to subclassing ( var width= 500, height= 500, w, world, n= 50, particles, attractor, font= Font(Font.defaultMonoFace); //--world ...

  3. startup14-perc Quark

    ... e a new node id each time (use -1) ~event = (grain: true, eventKey: \singleSynthPlayer); ~requiredKeys = #[\amps, \bufPaths]; ~inChannels = 1; ~outChannels = 2; // ~bufPaths = #[path0, path1...]; // files to load // ~bufCoords = #[[start0, ...

  4. BufAnalyzer Quark

    ... art analyz synth ( instrument: \bufAnalyzeOnsets, server: server, buf: bufnum ).play; // cleanup { resp.remove; "// Found % attacks in Buffer nr. %: %\n".postf(onsetsList.size, bufnum); if (postAll) { onsetsList.asArray.postcs; "\n\n".postl ...

  5. KrBusWatcher Quark

    ... aliveThread if it's running already aliveThread.nextBeat.isNil.if({ aliveThread.play(SystemClock) }); } stopAliveThread { aliveThread.stop; aliveThread = nil; } c_setn { |msg| var bus, i; i = 1; { i < msg.size }.while({ bus = nodes.at(msg.a ...

  6. KrBusWatcher Quark

    ... aliveThread if it's running already aliveThread.nextBeat.isNil.if({ aliveThread.play(SystemClock) }); } stopAliveThread { aliveThread.stop; aliveThread = nil; } c_setn { |msg| var bus, i; i = 1; { i < msg.size }.while({ bus = nodes.at(msg.a ...

  7. 140-mouse_listening_synth Quark

    ... keColor= Color.grey(0.7, 0.5); Pen.strokeOval(Rect.aboutRedObject2D(o)); } }; w.play; CmdPeriod.doOnce({w.close}); w.onClose= {world.objects.do{|o| o.state.at(\synth).free}}; })

  8. 102-particle-system_fountain_synth Quark

    ... terate all particles Pen.addOval(Rect.aboutRedObject2D(o)); }; Pen.stroke; }; w.play; CmdPeriod.doOnce({w.close}); } )

  9. NNdef Quark

    ... //line added to NNdef stream << this.frpNodeMapAsCode(indexStr); }; // include play settings if playing ... // hmmm - also keep them if not playing, // but inited to something non-default? if (this.rate == \audio and: includeMonitor) { if ...

  10. novation-launchpadminimk1.desc Quark

    ... Recursive({|el| (el.type == \button).if{el.value = 0.25.coin.asInteger } }) }}).play */ ( deviceName: "launchpadmini", protocol: \midi, deviceType: \launchpad, elementTypes: [\button], status: ( linux: "", osx: "", win: "unknown"), idInfo: ...

prev 141 142 143 144 145 146 147 148 149 150 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow