Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... llo = lo.next; hhi = hi.next; curr = (curr + (step.next.xrand2 * (hhi - llo))).fold( llo, hhi ); curr.yield; }; }.r; }).mappedArgs_([\lo, \hi ]) .setSpec( \seed, URandSeed ) .setDefault( \seed, URandSeed() ) .category_( 'pattern_random' );

  2. OssiaCustomTypes Quark

    ... lue.collect( { | item, i | item.wrap(domain.min[i], domain.max[i]); } )) }; }, 'fold', { ^{ | value, domain | this.asOssiaVec(value.collect( { | item, i | item.fold(domain.min[i], domain.max[i]); } )) }; }, 'values', { ^{ | value, domain | ...

  3. 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 ...

  4. 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 ...

  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. 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 ...

  7. 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 ...

  8. Paccumbounce Quark

    ... ep, length = inf, start) lo = minimum output value; values lower than this are .fold-ed back in range hi = maximum output value step = pattern for the second operand length = number of values to output start = starting value; if not given, ...

  9. Paccumbounce Quark

    ... ep, length = inf, start) lo = minimum output value; values lower than this are .fold-ed back in range hi = maximum output value step = pattern for the second operand length = number of values to output start = starting value; if not given, ...

  10. Paccum Quark

    ... , start, operator = '+') lo = minimum output value; values lower than this are .fold-ed back in range hi = maximum output value step = pattern for the second operand length = number of values to output start = starting value; if not given, ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow