Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (32) Code (1) Doc (9) Help (2) Quark (20) SCDoc ↗ Forum ↗ Google ↗
  1. NXStageLimiter Quark

    ... lmSynth = SynthDef(\stageLimiter, { var input = In.ar(0, 2); input = Select.ar(CheckBadValues.ar(input, 0, 0), [input, DC.ar(0), DC.ar(0), input]); ReplaceOut.ar(0, Limiter.ar(input)) ; }).store; Server.default.sync; lmFunc.value; CmdPerio ...

  2. MixerChannelDef Quark

    ... at case, spurious out-of-range warnings are produced clip = 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], ...

  3. Sanitize Doc

    ... by default. The method UGen: -sanitize provides a shorthand for this. See also CheckBadValues , which allows you to discriminate specific kinds of bad values and print information about them to the post window. Class Methods Sanitize. ar ( ...

  4. republic_MasterFX Quark

    ... st everything: clip2 (0.98), and simple onepole spectrum tilt; PAST EVERYTHING: CheckBadValues on the outputs to avoid evil numbers killing the audio drivers. r.s.queryAllNodes(false); s.freeAll(true); // not working yet, 2011_06_14 Ndef(\a ...

  5. TestCoreUGens Quark

    ... - IFFT(FFT(LocalBuf(4096), n)) }, ////////////////////////////////////////// // CheckBadValues: "CheckBadValues.ar()" -> { var trig=Impulse.ar(10); var f=ToggleFF.ar(trig); var g=ToggleFF.ar(PulseDivider.ar(trig)); var predicted = Demand.ar ...

  6. synth Quark

    ... 1.0| var input = In.ar(out, numChannels); // Remove DC offset input = Select.ar(CheckBadValues.ar(input, 0, 0), [input, DC.ar(0), DC.ar(0), input]); // Compressor input = Compander.ar( input, input, thresh: compThreshold, slopeBelow: 1.05, ...

  7. SimplePlayerEffect Quark

    ... od; pnc = subject.numChannels; in = In.ar(i_bus,pnc); good = BinaryOpUGen('==', CheckBadValues.ar(in, 0, 0), 0); // silence the output if freq is bad in = in * good * EnvGen.kr(env,gate,doneAction:0); // phone home SendTrig.kr(1.0-A2K.kr(go ...

  8. SimplePlayerEffect Quark

    ... d; pnc = subject.numChannels; in = In.ar(i_bus, pnc); good = BinaryOpUGen('==', CheckBadValues.ar(in, 0, 0), 0); // silence the output if freq is bad in = in * good * EnvGen.kr(env, gate, doneAction:0); // phone home SendTrig.kr(1.0-A2K.kr( ...

  9. MasterFX Quark

    ... dDefName, { var snd = In.ar(busIndex, numChannels); var dt = 0.001; var isOK = (CheckBadValues.ar(snd) < 0.001); var gate = (isOK * DelayN.ar(isOK, dt * 2)); var outSnd = DelayL.ar(snd, dt) * gate; ReplaceOut.ar(busIndex, outSnd) }).add; fo ...

  10. OFX_OutputFX Quark

    ... dDefName, { var snd = In.ar(busIndex, numChannels); var dt = 0.001; var isOK = (CheckBadValues.ar(snd) < 0.001); var gate = (isOK * DelayN.ar(isOK, dt * 2)); var outSnd = DelayL.ar(snd, dt) * gate; ReplaceOut.ar(busIndex, outSnd) }).add; fo ...

prev 1 2 3 4 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow