Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (266) Code (32) Doc (61) Help (23) Quark (150) SCDoc ↗ Forum ↗ Google ↗
  1. type Quark

    ... rolSpec( 0, 2, \lin, 0.1, 1 ) ) .setSpec( \clipMode, ListSpec( [ \clip, \wrap, \fold ] ) ) .useSelection_( false );

  2. p_int_step Quark

    ... next = lo.next; hinext = hi.next; case { current > hinext } { current = current.fold(lonext,hinext); direction = -1; } { current < lonext } { current = current.fold(lonext,hinext); direction = 1; }; }, \rand, { arr = (lo.next..(hi.next)); a ...

  3. clip Quark

    ... ea - 1: sineClip; normal clipping with a sinusoidial/s-curve softclip area - 2: fold; the signal is mirrored between the clipping borders - 3: wrap; the signal is wrapped around (modulo / %) the clipping borders - 4: excess; inverse/center ...

  4. clip Quark

    ... ea - 1: sineClip; normal clipping with a sinusoidial/s-curve softclip area - 2: fold; the signal is mirrored between the clipping borders - 3: wrap; the signal is wrapped around (modulo / %) the clipping borders - 4: excess; inverse/center ...

  5. SuperDirtUGens Quark

    ... use it is cyclic in the range [-1..1], or [0..2] In stereo panning, we need to .fold(-1, 1) */ DirtPan { classvar <>defaultPanningFunction; *initClass { // signals is an array of arbitrary size defaultPanningFunction = #{ | signals, numChan ...

  6. PFold Quark

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

  7. moreHarmonics Quark

    ... saturation (.softclip and .tanh, which is more distorted), -two methods for wavefolding, one smooth (SinOsc.ar) and one sharp (.fold), -a way of wrapping waves around from 1 to -1, like the sides in pacman (.wrap), -and a sort of square-wav ...

  8. Ptiming Quark

    ... xrand2 }; var outval; length.do({ brown = (brown + (drift * driftRatio).xrand2).fold2(drift); outval = brown + jitter.bilinrand + offset; if (range.notNil) { outval = outval.fold(*range) }; inval = outval.yield; }); ^inval; } }

  9. steinberg-cmc-pd_port2.desc Quark

    ... or use of relative knob: m.elAt(\kn).action = { |el| var delta = el.deviceValue.fold(0, 64).wrap(-31, 32); [el.deviceValue, delta].postln; }; // use it to control a parameter with RelSet m.trace(false); Ndef(\test, { |freq = 600| VarSaw.ar( ...

  10. bleepo Quark

    ... eA, rateB] * in.keep(2).reverse.madd([fm_b2a,fm_a2b]) .linexp(-1,1, 1/18, 18) ).fold(0.01, 19000); rezo = rezo.reciprocal; waves = VarSaw.ar(oscfreqs2, 0, [wshape, 1 - wshape]); maxfreq = oscfreqs2[0].max(oscfreqs2[1]); trig = waves[0].absd ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow