Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (78) Code (15) Doc (16) Help (3) Quark (44) SCDoc ↗ Forum ↗ Google ↗
  1. extensions Quark

    ... thDef.metadata[\outs]=array; }{ list.array=array }; switch(this.rate, \audio,{ ^SendReply.ar(this,("/my_set/"++name).asSymbol,val) }, \control,{ ^SendReply.kr(this,("/my_set/"++name).asSymbol,val) }, { ^Error("didn't know when implementing ...

  2. MixerChannelDef Quark

    ... = In.ar(busin, 1) * level; bad = CheckBadValues.ar(in, post: 0) + (in.abs > 2); SendReply.ar(bad, '/mixerChBadValue', bad, 0); badEG = EnvGen.ar(Env(#[1, 0, 1], #[0, 0.05], releaseNode: 1), bad); in = Select.ar(bad > 0, [in * badEG, DC.ar(0 ...

  3. SCDrawServer Quark

    ... ropriate to te function in question. The other style of message is what comes a SendReply ugen. So, something like the following: \drawTrig, nodeID, replyID, and some number of floats as args to the drawing function The replyID is what is u ...

  4. MixerChannelDef Quark

    ... p = max(1, clip); bad = CheckBadValues.ar(in, post: 0) + (8 * (in.abs > clip)); SendReply.ar(bad, '/mixerChBadValue', [bad, in].flat, 0); badEG = EnvGen.ar(Env(#[1, 0, 1], #[0, 0.05], releaseNode: 1), bad); in = Select.ar(bad > 0, [in * bad ...

  5. ReceiveTrig Quark

    // wslib 2010 // // the lang-side counterpart of SendTrig and SendReply // /* // example 1: x = { SendTrig.kr( Impulse.kr(1), 10, WhiteNoise.kr ) }.play; ReceiveTrig( x, _.postln ); x.free; // automatic removal // example 2: r = ReceiveTrig ...

  6. GetMouse Quark

    ... eRate = 5| var source = ugenFunc.value(this); var change = HPZ2.kr(source) > 0; SendReply.kr( Impulse.kr(updateRate) * change + Impulse.kr(0), cmd, source ); }.play(server); synth.register; synth.addDependant(this); resp = OSCresponder(serv ...

  7. envFollow Quark

    ... ig; env = EnvFollow.kr(in, envFollow_decay); trig = Impulse.kr(envFollow_rate); SendReply.kr(trig, "/analysis", env); };

  8. OpenObject Quark

    ... // replyID name selector args ... res = func.value(msg[2..]); id = msg[1]; this.sendReply(replyAddr, id, res); } { // name selector args ... func.value(msg[1..]) } }, cmd, addr).fix; ); } *removeResponder { |cmd| var all = responders.select ...

  9. XiiChannelMeter Quark

    ... p; in = InFeedback.ar(NumOutputBuses.ir, numIns); imp = Impulse.ar(updateFreq); SendReply.ar(imp, "/ixiInLevels", [RunningSum.ar(in.squared, numRMSSamps), Peak.ar(in, Delay1.ar(imp)).lag(0, 3)].flop.flat ); }).play(RootNode(Server.default), ...

  10. XiiEventRecorder Quark

    ... = BinaryOpUGen('!=', env, 0 ); // only return an onset trig if the env is at 0 SendReply.kr(onsettrig, '/onset', onsettrig); //SendReply.kr(Amplitude.kr(in) >= trailsensitivity, '/trail', 1); SendReply.kr(Done.kr(env), '/xiidone', onsettri ...

1 2 3 4 5 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow