Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (928) Code (86) Doc (150) Help (40) Quark (649) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. zPsamp1 Quark

    ... by ear var blockDelaySecs = ControlDur.ir * i_blockDelay; incidence = incidence.clip(0,1); amp = amp.clip(-1,1); ampScaled = abs(amp) **(0.7); lpassFq = 100 + (incidence**(0.7) * 21900) ; // used to cut highs when incidence is low hpassFq = ...

  2. monoSpat Quark

    ... = 0.030; var outsig; // limit cutoff freq range and smooth changes lpHz = lpHz.clip(5.0, 20000.0).lag3(slewFilter); hpHz = hpHz.clip(5.0, 20000.0).lag3(slewFilter); outsig = in * gain.lag(slewGain); outsig = DelayC.ar( outsig, maxdelaytime ...

  3. gendyfyre Quark

    ... , timescale = 1, sustain = 0.1| var segGates = (numsegs - (1..q.gendy.maxSegs)).clip(0, 1); var levels = \levels.ir({ 1.0.bilinrand }.dup(q.gendy.maxSegs - 1)) * segGates.drop(1); var samps = \times.ir({ exprand(3, 300) }.dup(q.gendy.maxSeg ...

  4. stereoPanner Quark

    ... n(theta); var outsig; // limit cutoff freq range and smooth changes lpHz = lpHz.clip(5.0, 20000.0).lag3(slewFilter); hpHz = hpHz.clip(5.0, 20000.0).lag3(slewFilter); outsig = in * gain.lag(slewGain); outsig = DelayC.ar( outsig, maxdelaytime ...

  5. core-synth-hacks-02 Quark

    ... ar(12, 0.02 * BufSampleRate.ir(bufnum)); phase = phase + scratch; phase = phase.clip(0, BufFrames.ir(bufnum)); sound = BufRd.ar( numChannels: sampleNumChannels, bufnum: bufnum, phase: phase, loop: 0, interpolation: 4 // cubic interpolation ...

  6. PClip Quark

    PClip UGenPatterns quark library superclass: PInRange based on Clip PClip(pattern, lo, hi) pattern lo (default: 0) hi (default: 1) // example s.boot; a= Pbind ( \dur , 1/3, \legato , 0.4, \midinote , PClip ( Pseq ([0, 2, 4, 5], inf ), 2, 4) ...

  7. QuNexus_AB Quark

    ... d pressure mod (cc1) on those chans // Preset D is for drums (uses chan 10) and clips // code example for global note responder + voicer: MKtl.find(\midi); z = MKtl('qnxs0', "*qunexus*AB"); // a debug post for all elements: z.elAt.action = ...

  8. inc_dec_select Quark

    ... ; index = (index + inc - dec).round(1); index = Select.kr( (wrap + (reset * 2)).clip(0,2), [ index.clip(0,n-1), index.wrap(0,n), resetIndex, ]); LocalOut.kr(index); //index = Stepper.kr( trigger, reset, range[0], range[1], step ); values = ...

  9. 6_HyperMasterFX Quark

    ... nder.ar(hiSig, hiSig, hiLim, 1, 0.0, 0.0, 0.1); sumOut = loOut + hiOut; // hard clip for peaks that escape equal-power-bandsplit SendReply.ar(sumOut.abs > 1.0, "/clipped", (0..sumOut.lastIndex)); sumOut.clip2(limit); }, 1, ( limit: [0.1, 1, ...

  10. inc_dec_select Quark

    ... ; index = (index + inc - dec).round(1); index = Select.kr( (wrap + (reset * 2)).clip(0,2), [ index.clip(0,n-1), index.wrap(0,n), resetIndex, ]); LocalOut.kr(index); //index = Stepper.kr( trigger, reset, range[0], range[1], step ); values = ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow