Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2802) Code (189) Doc (689) Help (190) Quark (1708) Plugin (26) SCDoc ↗ Forum ↗ Google ↗
  1. load_action_tests Quark

    ... e numFrames, //and actually re-read the file sampler.samples[0].buffer.do{|b| b.free}; sampler.samples[0].activeBuffer.flat.do{|b| b.free}; fired = 0; sampler.load(files, action: { fired = fired + 1 }); awaitFire.({fired}, 60); assertTrue.( ...

  2. NMLAuthenticate Quark

    ... ++ "-challenge-reply"] ++ challenge[inds])); }, oscPath ++ "-challenge").fix; } free { challResponseOSCFunc.free; } authenticate {|peer, successFunc, failureFunc| var inds, vals, challReplyOSCFunc, testResult; #inds, vals = this.generateCha ...

  3. PV_PartialSynthF Doc

    ... synth s.sendMsg(\s_new, \partialsynth, z = s.nextNodeID, 0, 1, \fftbuf, 0); // free it s.sendMsg(\n_free, z); s.sendMsg(\b_free, 0); (SynthDef(\noisesynth, {arg fftbuf; var in, chain, out; in = SinOsc.ar(440, 0, 0.5) + PinkNoise.ar(0.4); c ...

  4. PV_NoiseSynthF Doc

    ... synth s.sendMsg(\s_new, \partialsynth, z = s.nextNodeID, 0, 1, \fftbuf, 0); // free it s.sendMsg(\n_free, z); s.sendMsg(\b_free, 0); (SynthDef(\noisesynth, {arg fftbuf; var in, chain, out; in = SinOsc.ar(440, 0, 0.5) + PinkNoise.ar(0.4); c ...

  5. Harmonics Help

    ... t, Osc .ar(bufnum, 200, 0, 0.5) ) }); y = z.play(s,[ \out , 0, \bufnum , b]); y.free; decay(k) - 1 / ((i+1 ** k) a.decay(1.0); b.sine2(a.ramp(1.0, 1.0).postln, a.decay(1.0).postln, true , true , true ); y = z.play(s,[ \out , 0, \bufnum , b] ...

  6. OssiaDevice Quark

    ... hildren = []; } *new { | name | g_devices.do({ |dev| if(name == dev.name) { dev.free() }; }); ^super.new.deviceCtor(name).stack_up(); } stack_up { g_devices = g_devices.add(this) } *ossia_dtor { "OSSIA: cleanup...".postln; g_devices.do({ | ...

  7. PV_Copy Doc

    ... an); chainB = PV_BrickWall(chainB, -1 + pan); IFFT([chain, chainB]) }.play ) // free sound file buffer d.free; // proof of concept: copy has identical data // global buffers for plotting the data ( b = Buffer.alloc(s, 2048, 1); c = Buffer.a ...

  8. PHSplayer Quark

    ... ion to be evaluated at receive time. pause(hsStop, pbindStop, addAction) = stop free Stop the PHSplayer and all PHSusePlayers that are using the same HS, also free the HS. Note: stop (= pause ) allows resuming the player - free resets, play ...

  9. PHSusePlayer Quark

    ... ) addAction - Function to be evaluated at receive time. pause(addAction) = stop free Only free this PHSusePlayer - the PHSplayer / PHSparPlayer, which is using the same HS / HSpar, is not affected. Note: stop (= pause ) allows resuming the ...

  10. asTarget Doc

    ... server, in the default group x = Synth.head(g, "default"); // now this works x.free; g.free; // if not using the default Server Integer-asTarget can be problematic Server.default = Server.local; Server.default.boot; // quit the default ser ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow