-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... ntrolSpec( 0, 1, \lin, 0.0, 0.3 ) ) .setSpec( \mode, ListSpec( [ \clip, \wrap, \fold ] ) ) .useSelection_( false );
-
... 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: ...
-
... 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. ...
-
... 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' );
-
... 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' );
-
... 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 | ...
-
... 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 ...