-
... .collect({ |level, i| Point( (env.times[..i-1].sum / dur) * bounds.width, level.linlin( min, max, bounds.height, 0 ) ) }); } setPoints { |pts, bounds| var dur, levels, times; dur = env.times.sum; pts = pts.sort({ |a,b| a.x <= b.x }); #times ...
-
... t( \tilt ) * 0.5pi).tan / 2); size = obj.size; obj.collect({ |item, i| item + i.linlin(0,size-1,tiltAmt.neg, tiltAmt) }); }, [ \tilt, 0] ) .setSpec( \tilt, [-1,1,\lin,0,0].asSpec );
-
... min; if(thisPolarity == \uni) { if(thisOrientation == \horizontal) { value = x.linlin( super.interactionRect.left, super.interactionRect.right, 0, (nDiv - 1) ); } { value = y.linlin( super.interactionRect.top, super.interactionRect.bottom, ...
-
... fiers)).if{ // restrict to no modifier if (orientation==\horizontal) {newVal= x.linlin(0,view.bounds.width,0,1); } {newVal= (view.bounds.height-y).linlin(0,view.bounds.height,0,1); }; if (newVal != value) {this.valueAction_(newVal)}; }; } m ...
-
... options.monitorOutChannels.do{ arg chan; outlev[chan].value = msg[curMsg].ampdb.linlin(-75, 0, 0, 1); outlev[chan].peakLevel = msg[curMsg+1].ampdb.linlin(-75, 0, 0, 1); curMsg = curMsg + 2; } }.defer; }, ('/out_levels'++ options.monitorOutC ...
-
{n=LFNoise0;Streson.ar(n.ar(n.kr(1).linexp(0,1,100,800))*LFPulse.ar(n.kr(1/4).linlin(0,1,1,10)),0.02162,0.85,1.5).tanh!2}.play
-
... 0); //dim,grav,maxvel,damp //--init objects n.do{|i| var x= (sin(i/n*2pi)*0.8).linlin(-1, 1, 0, width-1); var y= (cos(i/n*2pi)*0.8).linlin(-1, 1, 0, height-1); RedOscillator(world, RedVector2D[x, y], nil, nil, 0, 1/n*width) .coupling_(0.1/ ...
-
... 0); //dim,grav,maxvel,damp //--init objects n.do{|i| var x= (sin(i/n*2pi)*0.8).linlin(-1, 1, 0, width-1); var y= (cos(i/n*2pi)*0.8).linlin(-1, 1, 0, height-1); RedOscillator(world, RedVector2D[x, y], nil, nil, 0, 1/n*width) .coupling_(0.1/ ...
-
... =0 , mul=1 ; PlayBuf.ar(~buffer0.numChannels, ~buffer0, rate, trigger, startPos.linlin(0,1,0, ~buffer0.numFrames), 1)*mul;}); == radpostcont == (none)
-
... env3, env4, range, bottom; var osc1, osc2, osc3, osc4, snd; bottom = lfoBottom.linlin(0, 1, 100, 12000); range = lfoRange.linlin(0, 1, bottom, 16000); env1 = Env.perc(att, rel * 1.25, inputLevel, curve: \lin).kr; env2 = Env.perc(att, rel, ...