Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (266) Code (32) Doc (61) Help (23) Quark (150) SCDoc ↗ Forum ↗ Google ↗
  1. Server-side sequencing by coreyker (coreyker) Code

    ... ar(trig,1e-3,1); FreeVerb.ar( Splay.ar(SinOsc.ar(freq*[0.995, 1, 1.005]).fold(-0.995,0.995)*0.25*env), 0.5, 0.5 ); } }; fork{ 4.do{ fork{ f.(100,2).play; (1/8).wait; f.(200,4).play; (1/4).wait; f.(10 ...

  2. PanOut Quark

    ... h numbers of outputs ( > 16 ) PanOut { *pan { |in, pos = 0| ^Pan2.ar( in, ( pos.fold(0.0,1.0) - 0.5) * 2.0) } *switchBus { |bus = 0, in, wrap| // in should be 2 channels if( wrap.isNil ) { ^[ Out.ar( bus.round(2), in[0] * (bus >= -1 ).binar ...

  3. Rest Doc

    ... loop.coin, Pseq([Rest(), 7], inf), // every second is a Rest Pseries(0, 1, inf).fold(-7, 7) ), \dur, 0.125 ).play ) ⧉ ✔ Using a Rest instance in a duration stream ( Pbind( \degree, Pseries(0, 1, inf).fold(-7, 7), \dur, Pseq([Pn(0.125, { rra ...

  4. smooth Quark

    ... ntrolSpec( 0, 1, \lin, 0.0, 0.3 ) ) .setSpec( \mode, ListSpec( [ \clip, \wrap, \fold ] ) ) .useSelection_( false );

  5. Wrap Doc

    ... Object Wrap a signal outside given thresholds. Source: Trig.sc See also: Clip , Fold Description This differs from the BinaryOpUGen wrap2 in that it allows one to set both low and high thresholds. Class Methods Wrap. ar ( in , lo: 0.0 , hi: ...

  6. Clip Doc

    ... tion : Object Clip a signal outside given thresholds. Source: Trig.sc See also: Fold , Wrap Description This differs from the BinaryOpUGen clip2 in that it allows one to set both low and high thresholds. Class Methods Clip. ar ( in , lo: 0. ...

  7. 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' );

  8. 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' );

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

  10. 180-distance_lines Doc

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

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow