Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... c,vel,acc,mass,size }.dup(n); //--loop w.draw{ Pen.fillColor= Color.grey(0, cnt.fold(0, 500)/10000); Pen.fillRect(Rect(0, 0, width, height)); world.objects.do{|o| world.objects.do{|oo| var dist= o.loc.distance(oo.loc); if(dist<minDist, { Pe ...

  2. Rational Doc

    ... loat pow reciprocal squared isZero floor ceil frac trunc round roundUp mod wrap fold do reverseDo Examples Basic operations Comparisons Sorting Continued fractions Stern-Brocot numbers Conversion between Rational and Float Sound Example (ex ...

  3. p_midi Quark

    ... the following modes (Symbol): 'clip' (default): clip values outside fromRange 'fold': fold values outside fromRange 'wrap': wrap around values outside fromRange 'excess': map values outside the fromRange to min and max and return center va ...

  4. Time and relative dimensions in SC by 38nonprivate (38nonprivate) Code

    ... = PV_BinScramble(chain, 0.05, 0.1, 1.0 ); noise = IFFT(chain); noise = noise.fold(-0.5, 0.5); combs = Mix( [ CombL.ar(noise, 0.1, SinOsc.kr(tardRate * 0.9966, 0.1).range(0.00032, 0.00028) * 3.4, 0.4, 0.06), CombL.ar(noise, 0.1, Si ...

  5. SSWorld Quark

    ... ld dimension //invert vel vel.put(i,vel[i]*(1-damping).neg); ssObj.vel_(vel); //fold loc loc.put(i,l.fold(arrayDim[i]/2.neg,arrayDim[i]/2)); ssObj.loc_(loc); } } { //z coordinate only defined in range (0..depth) if( l > (arrayDim[i]) or:{l< ...

  6. InRange Doc

    ... t Tests if a signal is within a given range. Source: Trig.sc Subclasses: Clip , Fold , Schmidt , Wrap See also: InRect , Schmidt Description If lo ≤ in ≤ hi , output 1.0, otherwise output 0.0. Class Methods InRange. ar ( in , lo: 0.0 , hi: ...

  7. SmoothClipS Quark

    ... of the transfer function equals 0 at the borders. See also: Smooth Clipping and Folding , SmoothClipQ , SmoothFoldS , SmoothFoldQ , SmoothFoldS2 , SmoothFoldQ2 Class Methods *ar (in, lo, hi, amount, delta) *kr (in, lo, hi, amount, delta) in ...

  8. SmoothClipQ Quark

    ... of the transfer function equals 0 at the borders. See also: Smooth Clipping and Folding , SmoothClipS , SmoothFoldS , SmoothFoldQ , SmoothFoldS2 , SmoothFoldQ2 Class Methods *ar (in, lo, hi, amount, delta) *kr (in, lo, hi, amount, delta) in ...

  9. RedFingerprint Doc

    ... ; usr= UserView(win, Rect(0, 0, width, height)); usr.drawFunc= { var a= sin(cnt.fold(0, 100)/2pi).linlin(-1, 1, 0.01, 1); var b= sin(cnt.fold(0, 90)/2pi).linlin(-1, 1, 0.1, cnt.fold(0, 50)/25); var rf= RedFingerprint(Wavetable.sineFill(256, ...

  10. wiard noise ring variation using a ringbuffer instead of bitshifting, language implementation (task-based) by lfsaw (LFSaw) Code

    ... aints. //"+++++++ change! % >> ".postf(item); item = (item + step.xrand2).fold(min, max); item; //.postln; }; rbuf.add(item); item; // return (altered) item }; ( Tdef(\steppr, { var midinote; loop{ midinote = q.s ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow